Query a full year station/pollutant table from the AQO website.

get_aqoyr(station_id, poll_id, year, start_month, end_month, fill = FALSE)

Arguments

station_id

Recording station code (integer).

poll_id

Pollutant code (integer).

year

Year (between 2007 and 2017).

start_month

Optional starting month (integer, default = 1).

end_month

Optional ending month (integer, default = 12).

fill

Whether to fill tables with missing entries with NA.

Value

A 365 x 26 table of pollutant concentrations, where each row is a day and the columns are Station (which is station_id) Date (Y-m-d), and hourly time in H01:H23 format.

Details

Times are always in EST, i.e., on a clock which does not change back and forth from DST.