is_EEAaq_df | R Documentation |
EEAaq_df
class objectGiven an object as input, is_EEAaq_df
verify that the given object belongs
to the EEAaq_df
class.
is_EEAaq_df(data)
data |
the object for which verify the if it belongs to the |
logical value (T ot F). If TRUE
the object given in input is an EEAaq_df
object.
If FALSE
the object doesn't belong to the EEAaq_df
class.
### Download PM10 data for the province (NUTS-3) of Milano (Italy)
### from January 1st to January 31st, 2023
`%>%` <- dplyr::`%>%`
IDstations <- EEAaq_get_stations(byStation = TRUE, complete = FALSE)
IDstations <- IDstations %>%
dplyr::filter(NUTS3 %in% c("Milano")) %>%
dplyr::pull(AirQualityStationEoICode) %>%
unique()
data <- EEAaq_get_data(IDstations = IDstations, pollutants = "PM10",
from = "2023-01-01", to = "2023-01-31",
verbose = TRUE)
### Check if the imported object belongs to the EEAaq_df class
is_EEAaq_df(data = data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.