Description Usage Arguments Value See Also Examples
This function wraps the "free" pdok service, and allows for free search.
For syntax and examples see the documentation of pdok.
A more easy/convenient but simpler function for geocoding is
nl_geocode
.
1 2 3 |
q |
query to geocoding service. |
rows |
maximum number of rows to be returned. Default is 10. |
start |
start index.Default is 0. |
fq |
apply a filter to the query, e.g. fq=bron:BAG. The default filter is 'type:(municipality OR town OR neiborhood OR road OR postcode OR adress)'. Use fq=* to remove the default filter. |
lat |
enter a decimal degree (latitude, in WGS84). Together with lon this will define a point to search from. Search results will be ordered by distance from this point. For example: 'lat=52.09&lon=5.12' |
lon |
enter a decimal degree (longitude, in WGS84). Together with lat this will define point to search from. Search results will be ordered by distance from this point. For example: 'lat=52.09&lon=5.12' |
type |
restrict the results on a specific type. |
fl |
fields to return. |
df |
field that should be search in. |
... |
parameters passed to the pdok webservice |
verbose |
|
The result of the pdok free webservice converted to a R list object.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.