Download Weather Data from Environment and Climate Change Canada
Provides means for downloading historical weather data from
the Environment and Climate Change Canada website
(< https://climate.weather.gc.ca/historical_data/search_historic_data_e.html>).
Data can be downloaded from multiple stations and over large date ranges
and automatically processed into a single dataset. Tools are also provided
to identify stations either by name or proximity to a location.
Add timezones to the 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).
Changes
Sort stations by station_id not by station_name
Other
Update all internal data frames
weathercan 0.2.7 (2018-06-27)
Bug fixes
Fix bug created when ECCC changed file metadata for dates after April 1st 2018 (only affected downloads which included dates both before AND after April 1st, 2018) - Results in a new column station_operator for all data (NA where unavailable for older stations).
Adjust code flexibility to handle future changes
Add catch to warn user if end dates earlier than start dates
Changes
Update readme/vignettes/internal data sets to include new columns
Update internal stations data frame as well as flags and glossary
Remove tibble dependency by relying on dplyr
weathercan 0.2.6 (2018-05-25)
Bug fixes
Fix bug created when ECCC removed Data Quality Column
Adjust code flexibility to handle future changes
Add tests to catch future changes
weathercan 0.2.5 (2018-03-02)
Changes
More sensible messages when missing station data
Streamline messages from multiple stations
Accepts older R version
stations_dl fails gracefully on R versions < 3.3.4
Update stations dataframe
Bug fixes
Fix error when missing station data from one of several stations