Learn R Programming

mapping (version 1.4.1)

getNamesIT: Italian names

Description

Retrieves Italian statistical unit names.

Usage

getNamesIT(year = c("2021","2020", "2019", "2018", "2017"),
           unit = c("ripartizione", "regione", "provincia", "comune"), 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 Italian statistical unit

all_levels

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

See Also

getNamesEU, getNamesUS, getNamesWR, getNamesUK, getNamesDE

Examples

Run this code
getNamesIT()
getNamesIT(unit = "provincia")
getNamesIT(unit = "provincia", all_levels = FALSE)

Run the code above in your browser using DataLab