Downloads the Environment and Climate Change Canada NAPS hourly file for a pollutant
and year (<POLLUTANT>_<year>.csv in the ECCC data catalogue) and returns it in long
form, one row per station and hour, with -999 (a missing hour) dropped. Hours are
hour-ending local standard time, so H01 of a date is 01:00 on that date. The same
table as morie.earth.fetch_naps() in the Python package; the catalog keys
naps-<pollutant>-<province>-<year> (rmorie list-datasets) call this.
Value
A data.frame with station_id, station_name, latitude,
longitude, province, datetime_local, value, unit.
Examples
if (FALSE) { # \dontrun{
no2 <- morie_fetch_naps(2023, "no2", province = "ON")
head(no2)
} # }
