This function fetches hourly data from DEFRA's air pollution monitoring stations.
Details
The measurements are generally in \(\mu g/m^3\) (micrograms per cubic metre). To check the units, refer to the table of attributes (see example below). Please double check the units on the DEFRA website, as they might change over time.
Examples
if (FALSE) { # \dontrun{
# Get data for 1 year
output <- ukair_get_hourly_data("ABD", 2014)
# Get data for multiple years
output <- ukair_get_hourly_data("ABD", 2014:2016)
# Get units
attributes(output)$units
} # }