Description Usage Arguments Details Value Examples
nl_geocode
returns for a vector of addresses
the most probable object/location.
This function is more user friendly than the barebones webservices
(nl_free
), and uses the same function signature as
ggmap::geocode
.
1 2 3 4 5 6 7 8 | nl_geocode(location, output = c("wgs84", "rd", "data.frame"),
messaging = FALSE, type = "adres", ..., verbose = messaging)
nl_geocode_rd(location, messaging = FALSE, type = "adres", ...,
verbose = messaging)
nl_geocode_df(location, messaging = FALSE, type = "adres", ...,
verbose = messaging)
|
location |
string with location to be found |
output |
Should the output be a |
messaging |
Print the urls fired to the webserver (consistent with 'ggmap::geocode') |
type |
restrict the type of object that is returned from the service, see details for possible types. |
... |
will be passed to |
verbose |
identical to |
type
can be one or more of the following: "provincie", "gemeente"
, "woonplaats", "weg", "postcode", "adres", "perceel", "hectometerpaal",
"wijk", "buurt", "waterschapsgrens", "appartementsrecht".
The return type can be specified and can be of type "sf" or "data.frame",
depending on the value of output
.
1 2 3 4 5 | data("addresses")
r <- nl_geocode(addresses$Address)
r["weergavenaam"]
names(r)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.