Learn R Programming

mapping (version 1.3)

getNamesUK: United Kingdom names

Description

Retrieves United Kingdom statistical unit names.

Usage

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

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

Value

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

See Also

getNamesIT, getNamesEU, getNamesWR, getNamesDE

Examples

Run this code
# NOT RUN {
getNamesUK()

# }
# NOT RUN {
getNamesUS(unit = "county")
getNamesUK(unit = "county", all_levels = FALSE)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab