Retrieves the data regarding the activation date of the ultra-broadband connection in schools and indicates whether the connection was activated or not at a certain date.
Get_BroadBand(
Date = as.Date(format(as.Date(format(Sys.Date(), "%Y-%m-01")) - 1, "%Y-%m-01")),
include_municipality_code = TRUE,
input_School2mun = NULL,
input_Registry = NULL,
input_AdmUnNames = NULL,
verbose = TRUE,
autoAbort = FALSE
)An object of class tbl_df, tbl and data.frame.
The variables BB_Activation_date and BB_Activation_staus indicate
the activation date and activation status of the broadband connection at the selected date.
Object of class Date. The date at which it is required
to determine if the broad band connection has been activated or not.
By default, the first day of last month, which we assume to be the last update of the dataset.
Logical. Whether to include municipality codes.
TRUE by default.
Object of class list obtained with Get_School2mun.
If include_municipality_code == TRUE, the mapping from school codes to municipality (and province) codes.
If NULL, it will be downloaded automatically, but not saved in the global environment. NULL by default.
If input_School2mun is required, an object of class tbl_df, tbl and data.frame
corresponding to the national school registry (preferably of the last year, i.e. 2024/2025) obtained with Get_Registry. NULL by default.
If input_School2mun is required, an object of class tbl_df, tbl and data.frame
corresponding to the statistical codes of administrative units (preferably referring to the period corresponding to school year 2024/2025)
obtained with Get_AdmUnNames. NULL by default.
Logical. If TRUE, the user keeps track of the main underlying operations. TRUE by default.
Logical. Whether to automatically abort the operation and return NULL in case of missing internet connection or server response errors. FALSE by default.
Ultra - Broadband is defined as everlasting internet connection with a maximum speed of 1 gigabit per second, with a minimum guaranteed speed of 100 megabits/second both on the uploading and downloading operations, until the peering point is reached, as declared on the data provider's website: <https://bandaultralarga.italia.it/scuole-voucher/progetto-scuole/>. In the example the broadband availability at the beginning of school year 2022/23 (1st september 2022) is shown.
# \donttest{
Broadband_220901 <- Get_BroadBand(Date = as.Date("2022-09-01"), autoAbort = TRUE)
Broadband_220901
Broadband_220901[, c(9,6,13,14)]
# }
Run the code above in your browser using DataLab