Skip to contents

Search & discovery

Find datasets and the layers within them.

pdok_list_datasets()
List PDOK datasets
pdok_search_datasets()
Search PDOK datasets
pdok_list_layers()
List the layers within a PDOK dataset
pdok_search_layers()
Search the layers within a PDOK dataset

Loading data

Read a layer as an sf object.

pdok_read()
Read a PDOK layer as an sf object
pdok_read_href()
Read the features that a layer links to

Spatial filtering

Filter a layer by any polygon area.

pdok_filter_by()
Spatially filter an sf layer by any polygon

Server-side filtering

Filter on attribute values on the server, so only matching features are downloaded.

pdok_where() as.character(<pdok_where>) print(<pdok_where>)
Build a server-side attribute filter from R syntax
pdok_list_queryables()
List the fields a server-side filter can use

Geocoding

Look up addresses and place names, or the address nearest a point.

pdok_geocode()
Geocode addresses or place names with the PDOK Locatieserver
pdok_reverse_geocode()
Reverse geocode coordinates to the nearest address with the PDOK Locatieserver

Basemaps

The official PDOK basemap as a map background.

pdok_basemap()
A PDOK basemap to use as a map background