unit_info: Inforamtion about unit

Description Usage Arguments Details Value Examples

Description

Retrieve information about unit

Usage

1
unit_info(unitId, lang = c("pl", "en"), ...)

Arguments

unitId

A 12 character NUTS id code of interested unit. Use search_units or get_units to find unit id code.

lang

A language of returned data, "pl" (default), "en"

...

Other arguments passed on to GET. For example a proxy parameters, see details.

Details

To use a proxy to connect, a use_proxy can be passed to GET. For example get_request(id, filters, config = httr::use_proxy(url, port, username, password)).

Value

A named list.

Examples

1
2
3
4
 ## Not run: 
   unit <- unit_info("030210106062")

## End(Not run)

KaniaKrzysztof/bdl documentation built on June 28, 2019, 8:09 p.m.