pdokr 0.1.0
CRAN release: 2026-07-22
- First release.
pdokrprovides:- Dataset and layer discovery with
pdok_list_datasets(),pdok_search_datasets(),pdok_list_layers()andpdok_search_layers(), fetched live from the PDOK index. - Loading layers as
sfobjects withpdok_read(), with automatic pagination, server-side bounding-box and temporal pre-filtering, and client-side CRS transformation.pdokris an OGC API Features client and reads vector features only; a dataset that serves tiles or coverages instead is reported with a clear error. - Spatial filtering by any polygon (or point) with
pdok_filter_by(), also available in one call through thefilter_byargument ofpdok_read(). - Geocoding of addresses and place names with
pdok_geocode(), returningsfpoints and administrative polygons.queryaccepts a vector, so many locations can be geocoded in one call; aquerycolumn maps each result row back to its input. - Reverse geocoding with
pdok_reverse_geocode():sfpoints to the nearest address, road or place, with the distance in meters. - The official PDOK basemap as a map background with
pdok_basemap(), returning a raster tile URL (tmap/leaflet) or a vector style URL (maplibre/mapgl).
- Dataset and layer discovery with
