Get_AdmUnNames {SchoolDataIT}R Documentation

Download the names and codes of Italian LAU and NUTS-3 administrative units

Description

This function downloads a file provided by the Italian National Institute of Statistics including all the codes of administrative units in Italy. As of today, it is the easiest way to map directly cadastral codes to municipality codes.

Usage

Get_AdmUnNames(Year = 2023, date = "01_01_", autoAbort = FALSE)

Arguments

Year

Numeric or character value. Last available is 2024. For coherence with school data, it is also in the formats: 2023, "2022/2023", 202223, 20222023. 2023 by default.

date

Character. The reference date, in format "dd_mm_". Usually, the administrative codes are available at 01/01, at 06/30 and 12/31 of every year. "01_01_" by default.

autoAbort

Logical. Whether to automatically abort the operation and return NULL in case of missing internet connection or server response errors. FALSE by default.

Value

An object of class tbl_df, tbl and data.frame, including: NUTS-3 code, NUTS-3 abbreviation, LAU code, LAU name (description) and cadastral code. All variables are characters except for the NUTS-3 code.

Source

<https://www.istat.it/it/archivio/6789>

Examples




  Get_AdmUnNames(2024, autoAbort = TRUE)



[Package SchoolDataIT version 0.1.1 Index]