nl_lookup: Look up a geo object

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
obj <- nl_lookup("weg-f633e85f07eda4e68a00fb13f9d128f5")
names(obj)
obj$weergavenaam

edwindj/nllocation documentation built on May 27, 2019, 3:30 p.m.