Description Usage Arguments Details Value Examples
nl_suggest
returns a list of suggestions for a location description.
1 2 |
q |
search terms that should be geolocated |
... |
parameters passed to geolocation service |
rows |
maximum number of rows to be returned. Default is 10. |
type |
restrict type of geolocation to a type (see details for possible types) |
verbose |
Should the functions print messages on what it is retrieving. |
fl |
the columns that should be returned (aka select on columms of result) |
sort |
how the data should be sorted |
qf |
the fields that should be queried |
bq |
the boosting of the query. |
type
can be one or more of the following: "provincie", "gemeente"
, "woonplaats", "weg", "postcode", "adres", "perceel", "hectometerpaal",
"wijk", "buurt", "waterschapsgrens", "appartementsrecht".
The result of the pdok suggest webservice converted to a R list object.
1 2 3 4 5 6 7 | sug <- nl_suggest("Henri Faasdreef")
# how many objects have a score?
sug$response$numFound
# get suggestions
sug$response$docs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.