air_quality()
returns air quality data for the provided parameters.
air_quality_date_limits()
returns the date limits of air quality data by
station.
Arguments
- date_from
A date ("YYYY-MM-DD", required only for use = "airquality")
- time_from
An hour (1..24)
- date_to
A date ("YYYY-MM-DD", required only for use = "airquality")
- time_to
An hour (1..24)
- station
ID of the station to get data from. If
NULL
, include all available stations.
Value
A named list where the names are station IDs and each element is a nested data frame for the corresponding station with 5 columns:
start_dttm, end_dttm: Time of start and end of measuring in CET
index: Airquality index for all components
is_incomplete: Flag if data is incomplete (not all components available)
data: List column of data frames with the measured components
component: Component ID
value: Measured value for this component
index: Airquality index of this component
pct_in_index_thresholds: Decimal representation of percent in index thresholds. 0.x is x percent between index 0 and 1, 1.x is x percent between index 1 and 2 etc.