nlgeocoder (version 0.1.3)

nl_lookup: Look up a geo object

Description

Retrieve detailed properties of a geo object found with nl_suggest or nl_free.

Usage

nl_lookup(id, ..., output = c("list", "raw"), verbose = FALSE)

Arguments

id

of object found in nl_suggest or nl_free

...

extra parameters are passed to the lookup service of pdok.

output

What type of output should be returned

verbose

should the function print message while retrieving the data?

Value

Depending on the value of output the raw search results in R format or the properties of the specific object as a R list object.

Examples

Run this code
# NOT RUN {
obj <- nl_lookup("weg-f633e85f07eda4e68a00fb13f9d128f5")
names(obj)
obj$weergavenaam
# }

Run the code above in your browser using DataLab