Skip to contents

air_measures() returns measures for the provided parameters.

air_measures_date_limits() returns the date limits of measurements by scope, component, and station.

Usage

air_measures(
  date_from,
  time_from,
  date_to,
  time_to,
  station = NULL,
  component = NULL,
  scope = NULL
)

air_measures_date_limits()

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.

component

ID of component. If NULL, include all available components.

scope

ID of scope. If NULL, include all available scopes.

Value

A named list where the names are station IDs and each element is a data frame for the corresponding station

Examples

if (FALSE) { # \dontrun{
air_measures("2020-01-01", 9, "2020-01-01", 11)
} # }