Learn R Programming

mapping (version 1.4.1)

getNamesEU: European names

Description

Retrieves European statistical unit names.

Usage

getNamesEU(year = c("2021","2016", "2013", "2010", "2006", "2003"),
           unit = c("nuts0", "nuts1", "nuts2", "nuts3"), id = FALSE, 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 unit

id

boolean value indicating whether the ids are returned instead of names

all_levels

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

See Also

getNamesIT, getNamesUS, getNamesWR, getNamesUK, getNamesDE

Examples

Run this code

getNamesEU()

getNamesEU(unit = "nuts1")
getNamesEU(unit = "nuts1", all_levels = FALSE, id = FALSE)
getNamesEU(unit = "nuts1", all_levels = FALSE, id = TRUE)

Run the code above in your browser using DataLab