Get_nstud {SchoolDataIT} | R Documentation |
Download students' number data
Description
This functions downloads the data regarding the number of students, from the open website of the Italian Ministry of Education, University and Research
Usage
Get_nstud(
Year = 2023,
filename = c("ALUCORSOETASTA", "ALUCORSOINDCLASTA"),
verbose = TRUE,
show_col_types = FALSE,
autoAbort = FALSE
)
Arguments
Year |
Numeric or character. Reference school year (last available is 2023).
Available in the formats: |
filename |
Character. A string included in the name of the file to download.
By default it is Other file names are the following. The output is not currently supported by the remainder of the functions involving the number of students.
|
verbose |
Logical. If |
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. |
Value
By default, a list of two tbl_df
, tbl
and data.frame
objects:
-
$ALUCORSOETASTA
: The number of students by school, school grade and age. It provides a higher number of school than the other element -
$ALUCORSOINDCLASTA
: The number of students and classes by school and school grade. This is a long-format dataframe.
Source
Examples
Get_nstud(2023, filename = "ALUCORSOINDCLASTA", autoAbort = TRUE)