Learn R Programming

⚠️There's a newer version (0.2.6) of this package.Take me there.

Version 0.2.4

Package overview

Compiles and displays the available data sets regarding the Italian school system, with a focus on the infrastructural aspects. Input datasets are downloaded from the web, with the aim of updating everything to real time.
The functions are divided in four main modules, namely: 'Get', to scrape raw data from the web 'Util', various utilities needed to process raw data 'Group', to aggregate data at the municipality or province level 'Map', to visualize the output datasets.

Installation from GitHub

Before installing this version, please make sure to have the devtools package installed. Otherwise, first run:

install.packages("devtools") #if necessary

Then, the command for the installation is:

devtools::install_github("lcef97/SchoolDataIT")

If you want to force R not to upgrade the dependencies, use instead:

devtools::install_github("lcef97/SchoolDataIT", upgrade = "never")

Copy Link

Version

Install

install.packages('SchoolDataIT')

Monthly Downloads

305

Version

0.2.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Leonardo Cefalo

Last Published

March 28th, 2025

Functions in SchoolDataIT (0.2.4)

Group_nstud

Aggregate the students number data by class at the municipality and province level
Set_DB

Build up a comprehensive database regarding the school system
Map_DB

Map school data
Group_DB_MIUR

Aggregate the database of Italian public schools buildings at the municipality and province level
Group_teachers4stud

Arrange the number of teachers per students in public Italian schools at the province level
Map_School_Buildings

Display data fom the school buildings database
Util_Check_nstud_availability

Check how many schools in the school registries are included in the students count dataframe
Map_Invalsi

Display a map of Invalsi scores
Util_DB_MIUR_bool

Clean and convert the raw school buildings data to Boolean variables
example_School2mun23

Association of the municipality code to a subset of public schools 2022/23
example_Prov22_shp

Subset of Italian provinces shapefile
Util_nstud_wide

Clean the raw dataframe of the number of students and arrange it in a wide format
Util_DB_MIUR_num

Convert the raw school buildings data to numeric or Boolean variables
example_input_nstud23

Subset of the students and classes counts in school year 2022/23
example_input_Registry23

Subset of the school registry in school year 2022/23
example_Invalsi23_prov

Subset of the Invalsi scores in school year 2022/23
example_input_DB23_MIUR

Subset of the school buildings database in school year 2022/23
example_InnerAreas

Subset of the school registry in school year 2022/23
Util_Invalsi_filter

Filter the Invalsi data by subject, school grade and year.
example_AdmUnNames20220630

Subset of the administrative codes of municipalities
Get_BroadBand

Download the data regarding the broad band connection activation in Italian schools
Get_Shapefile

Download the shapefiles of Italian NUTS-3 and LAU administrative units
Get_Registry

Download the registry of Italian public schools from the school registry section
Get_nteachers_prov

Download the number of teachers in Italian schools by province
Get_AdmUnNames

Download the names and codes of Italian LAU and NUTS-3 administrative units
Get_School2mun

Associate a Municipality (LAU) code to each school
Get_nstud

Download students' number data
Get_DB_MIUR

Download the database of Italian public schools buildings
Get_Invalsi_IS

Download the Invalsi census survey data
Get_InnerAreas

Download the classification of peripheral municipalities
SchoolDataIT-package

SchoolDataIT: Retrieve, Harmonise and Map Open Data Regarding the Italian School System