Skip to content

Releases: ropensci/weathercan

weathercan v0.2.7

05 Jul 21:11
cbb894e
Compare
Choose a tag to compare

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 v0.2.5

02 Mar 22:06
0eafb91
Compare
Choose a tag to compare

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

weathercan v0.2.4

01 Feb 22:32
b62a1ed
Compare
Choose a tag to compare

Now part of ropensci.org!

Changes

  • sp moved to suggests, users are now prompted to install sp if they want to search stations by coordinates
  • weather_dl() replaces weather()
  • weather_interp() replaces add_weather()
  • stations_dl() replaces stations_all()
  • tz_calc() replaces get_tz()
  • Internal code modifications to match best practices

Other changes from unreleased 0.2.3 (2017-11-22)

Changes

  • Updated stations data
  • Added flags and glossary datasets as well as vignettes
  • stations_search() warns user if name looks like coords
  • stations_search() with coord now returns closest 10 stations
  • add_weather() warns user if trying to interpolate weather from >1 station
  • Updated code to conform with rOpenSci requirements
  • Data downloaded from multiple timezones defaults to UTC

Bug fixes

  • weather(format = FALSE) properly returns data
  • updated weather() to work with lubridate 1.7.1

weathercan 0.2.2

16 Jun 11:18
Compare
Choose a tag to compare

Changes

  • Update and expand vignettes (closes #15)
  • Data now returned as tibbles
  • Added listcol functionality (closes #8)
  • Added internal tests for interpolation
  • Updated R version
  • Standardized reference to stations dataset (stn) in all functions

Major changes

  • envirocan renamed to weathercan (closes #17)

Bug fixes

  • Fixed inclusion of New Brunswick stations (closes #9)
  • Downloads with no data return empty tibble and an informative message (closes #21)

envirocan v0.2.1

04 Mar 20:38
Compare
Choose a tag to compare
  • Minor bug fixes: correcting encoding information for downloads, updating function calls to dplyr package, updating stations dataset

envirocan 0.2.0

08 Jul 23:57
Compare
Choose a tag to compare
  • Added new function, add_weather() which performs a linear interpolation and merges weather data into an existing data frame.
  • Added two new hourly datasets with weather data downloaded for Kamloops and Prince George, BC: kamloops, pg
  • Added a new daily dataset for Kamloops: kamloops_day
  • Fixed a bug when downloading data from multiple stations at the same time
  • Changed 'timeframe' arguments to 'interval'
  • Minor internal adjustments

envirocan 0.1.1.1

23 Jun 22:12
Compare
Choose a tag to compare

envirocan 0.1.1.1

  • quick fix to correct duplicated monthly data downloads

envirocan 0.1.1

Functionality

  • Allow blank start/end dates to download whole data set
  • Add option to trim missing data from start and end of the range

Bug fixes

  • Add messages so functions fail gracefully if timezone doesn't exist
  • Correct bugs that prevented downloading of monthly data

envirocan 0.1.0

21 Jun 18:26
Compare
Choose a tag to compare

First release

This is the first development version of the envirocan
Basic stations search and weather downloads are implemented with formating