Get_DB_MIUR {SchoolDataIT} | R Documentation |
Download the database of Italian public schools buildings
Description
This function downloads the School Buildings Open Database provided by the Italian Ministry of Education, University and Research.
It is one of the main sources of information regarding the infrastructure system of public schools in Italy. For a given year, all available data are downloaded (except for the structural units section, which has a different level of detail) and gathered into a unique dataframe.
Usage
Get_DB_MIUR(
Year = 2023,
verbose = TRUE,
input_Registry = NULL,
input_AdmUnNames = NULL,
show_col_types = FALSE,
autoAbort = FALSE
)
Arguments
Year |
Numeric or character value. Reference school year (last available is 2023).
Available in the formats: |
verbose |
Logical. If |
input_Registry |
Object of class |
input_AdmUnNames |
Object of class |
show_col_types |
Logical. If |
autoAbort |
Logical. Whether to automatically abort the operation and return NULL in case of missing internet connection or server response errors. |
Details
This function downloads the raw data; missing observations are not edited; all variables are characters. To edit the output of this function and convert the relevant variables to numeric or Boolean, please Util_DB_MIUR_num
.
Schools different from primary, middle or high schools are classified as "NR"
. In the example, the data for school year 2022/23 are retrieved.
Value
An object of class tbl_df
, tbl
and data.frame
. All variables are characters.
Source
Examples
input_DB23_MIUR <- Get_DB_MIUR(2023, autoAbort = TRUE)
input_DB23_MIUR[-c(1,4,6,9)]