Get_DB_MIUR | R Documentation |
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.
Get_DB_MIUR(
Year = 2023,
verbose = TRUE,
input_Registry = NULL,
input_AdmUnNames = NULL,
show_col_types = FALSE,
certifications = FALSE,
autoAbort = FALSE
)
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 |
certifications |
Logical. From year 2021/22 onwards, whether to include some safety certifications in the database.
Given the particular level of definition of this file, it requires extra computational time (other than the downloading time). |
autoAbort |
Logical. Whether to automatically abort the operation and return NULL in case of missing internet connection or server response errors. |
This function downloads the raw data; missing observations are not edited; all variables are characters.
Since certifications are defined at the level of structural units of the single buildings, here
the fields read as the percentage of structural units in a building having a given certificate.
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.
An object of class tbl_df
, tbl
and data.frame
.
input_DB23_MIUR <- Get_DB_MIUR(2023, autoAbort = TRUE)
input_DB23_MIUR[-c(1,4,6,9)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.