Learn R Programming

mapping (version 1.4.1)

getNamesUK: United Kingdom names

Description

Retrieves United Kingdom statistical unit names.

Usage

getNamesUK(year = c("2020", "2019"), 
           unit = c("country", "county"), 
           all_levels = TRUE)

Value

A character vector or a data frame with unit names and corresponding associated levels

Arguments

year

year of the analysis

unit

the type of statistical units

all_levels

a logical value indicating if all levels are returned or only the unit names

See Also

getNamesIT, getNamesEU, getNamesWR, getNamesDE

Examples

Run this code

getNamesUK()

# \donttest{
getNamesUS(unit = "county")
getNamesUK(unit = "county", all_levels = FALSE)

# }

Run the code above in your browser using DataLab