View source: R/Get_AdmUnNames.R
Get_AdmUnNames | R Documentation |
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.
Get_AdmUnNames(Date = Sys.Date(), autoAbort = FALSE)
Date |
Character. The date at which administrative unit codes are sought for. Important: must be in the format: "yyyy-mm-dd". Current date by default. |
autoAbort |
Logical. Whether to automatically abort the operation and return NULL in case of missing internet connection or server response errors. |
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.
<https://situas.istat.it/web/#/territorio>
Get_AdmUnNames("2025-01-01", autoAbort = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.