Learn R Programming

nlgeocoder (version 0.2.2)

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)

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.

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?

Examples

Run this code
obj <- nl_lookup("weg-f633e85f07eda4e68a00fb13f9d128f5", output = "list")
names(obj)
obj$weergavenaam

Run the code above in your browser using DataLab