get_unit_localities {bdl}R Documentation

Get unit locality codes.

Description

Retrieve unit locality codes.

Usage

get_unit_localities(
  parentId,
  sort = c("id", "-id", "name", "-name"),
  lang = c("pl", "en"),
  ...
)

Arguments

parentId

A 12 character NUTS id code of parent unit. Use search_units to find unit id code.

sort

A type of sorting, "id" (default), "-id", "name", "-name"

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 dataset as a tibble.

Examples

    # get_unit_localities("030210106062")

[Package bdl version 1.0.3 Index]