Get_School2mun {SchoolDataIT} | R Documentation |
Associate a Municipality (LAU) code to each school
Description
This function associates the relevant municipality codes to all the schools listed in the two main registries provided by the Italian Ministry of Education, University and Research, namely:
The registry of school buildings, here referred to as
Registry_from_buildings
(Get_DB_MIUR
)The official schools registry, here referred to as
Registry_from_registry
(seeGet_Registry
)
Usage
Get_School2mun(
Year = 2023,
show_col_types = FALSE,
verbose = TRUE,
input_AdmUnNames = NULL,
input_Registry = NULL,
autoAbort = FALSE
)
Arguments
Year |
Numeric or character value (last available is 2023).
Available in the formats: |
show_col_types |
Logical. If |
verbose |
Logical. If |
input_AdmUnNames |
Object of class |
input_Registry |
Object of class |
autoAbort |
Logical. Whether to automatically abort the operation and return NULL in case of missing internet connection or server response errors. |
Value
An object of class list
, including 4 elements:
-
$Registry_from_buildings
: Object of classtbl_df
,tbl
anddata.frame
: the schools listed in the buildings registry -
$Registry_from_registry
: Object of classtbl_df
,tbl
anddata.frame
: the schools listed in the schools registry -
$Any
: Object of classtbl_df
,tbl
anddata.frame
: schools listed anywhere -
$Both
: Object of classtbl_df
,tbl
anddata.frame
: schools listed in both the sections
Source
Buildings registry (2021 onwards); Buindings registry(until 2019); Schools registry
Examples
Get_School2mun(Year = 2023, autoAbort = TRUE)