Skip to contents

Retrieve information about unit

Usage

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.

Value

A named list.

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)).

Examples

   # unit_info("030210106062")