R package for downloading weather data from Environment and Climate Change Canada
stations()
now uses the most recent version of the data even if it hasn't changed
(prevent message regarding age of stations data frame).stations()
data to local cache(needed to be fixed before could even make release!)
stations
to function stations()
. Returns same data
but is updateable with stations_dl()
and you can check download dates
version with stations_meta()
(fixes #10)normals_dl()
function downloads climate normals. Addresses issue #38.stations_search()
has normals_only
to return only stations with climate normalsurl
argument in favour of weathercan.urls.stations
, weathercan.urls.weather
and weathercan.urls.normals
options.tz_disp
in favour of time_disp
. Now all timezones are UTC, but the displayed time is either local time or UTC. When time_disp
= "none", the time displayed is local time without daylight savings, similar to how ECCC presents the data. This means that data from different time zones will have similar ecological times (i.e. midnights will be comparable), but the actual times are not UTC. When time_disp
= "UTC', the time displayed is in UTC timezone, meaning that stations from different times zones will have true times (i.e. midnight observation in Toronto will be three hours before midnight observation in Vancouver). Addresses issue #74.station_search()
to restrict by start and end dates. Addresses issue #35.tidyr
stations
data frame references conflicted with local references to stations
stations
data frame to remove dependency of Google API. Timezones added with the lutz
package, so updates the the stations
data frame now require lutz
and sf
packages (added to Suggests).stations
by station_id
not by station_name