View source: R/Group_teachers4stud.R
Group_teachers4stud | R Documentation |
This function provides the average number of teachers per students in Italian public schools at the province level.
Group_teachers4stud(
Year = 2023,
input_nteachers = NULL,
nteachers_filename = c("DOCTIT", "DOCSUP"),
verbose = TRUE,
input_nstud_raw = NULL,
input_nstud_aggr = NULL,
autoAbort = FALSE,
...
)
Year |
Numeric or character value. Reference school year for the school registry data (last available is 2022).
Available in the formats: |
input_nteachers |
Object of class |
nteachers_filename |
Character. If |
verbose |
Logical. If |
input_nstud_raw |
Object of class 'list', including two objects of class |
input_nstud_aggr |
Object of class |
autoAbort |
Logical. In case any data must be retrieved, whether to automatically abort the operation and return NULL in case of missing internet connection or server response errors. |
... |
Arguments to |
An object of class tbl_df
, tbl
and data.frame
input_nstud23 <- Get_nstud(2023, filename ="ALUCORSOINDCLASTA", autoAbort = TRUE)
Registry23 <- Get_Registry(2023, autoAbort = TRUE)
School2mun23 <- Get_School2mun(2023, input_Registry = Registry23, autoAbort = TRUE)
nstud23.aggr <- Group_nstud(Year = 2023, data = input_nstud23,
input_Registry = Registry23, input_School2mun = School2mun23,
autoAbort = TRUE)
input_nteachers23 <- Get_nteachers_prov(2023, autoAbort = TRUE)
teachers4stud <- Group_teachers4stud(Year = 2023,
input_nteachers = input_nteachers23,
input_nstud_aggr = nstud23.aggr, autoAbort = TRUE)
teachers4stud[, -c(1, 2, 10, 11)]
summary(teachers4stud)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.