Recent Releases of tidyhydat
tidyhydat - v0.7.0
tidyhydat 0.7.0
- bump minimum R version to 4.2.0
- dropped httr in favour of httr2
- fix bug where
download_hydat()fails iftempdir()is on a different device than hydat_path (@mpdavison, #192) - fix bug where
download_hydat()wasn't checking alternative paths for success (@Travis-Simmons)
Scientific Software - Peer-reviewed
- R
Published by boshek over 1 year ago
tidyhydat - v0.6.1
tidyhydat 0.6.1
- Add
...to print methods so you can pass arguments all the way down. - Add workaround for vroom#519 bug that prevents
realtime_*functions from working realtime_wsnow returns theApproval/Approbationcolumn as a character vector rather than a integer. ECCC is now putting non-integers in that column so this is a less strict formatting solution.
Scientific Software - Peer-reviewed
- R
Published by boshek about 2 years ago
tidyhydat - 0.5.7
tidyhydat 0.5.7
- new
hy_remotefunction which looks to see what version is available from ECCC (#183) - Improved logic to download HYDAT even if there is some clutter present (@gdelaplante #180)
- Updated to work with coming changes to dbplyr (#179)
- Use testthat 3rd edition and update a bunch of tests
- Make tinyhydat even tinier to remove R CMD check note
Scientific Software - Peer-reviewed
- R
Published by boshek over 3 years ago
tidyhydat -
tidyhydat (0.5.5)
MINOR IMPROVEMENTS
download_hydat()now has anaskparameter that can be used to bypass the keypress confirmation when downloading the HYDAT database (@rchlumsk, #165).- Change maintainer email.
- Precompile vignettes for CRAN
- Minor tweaks to vignettes
Scientific Software - Peer-reviewed
- R
Published by boshek almost 4 years ago
tidyhydat - v0.5.4
tidyhydat 0.5.4
- When add a local timezone column, use the most common timezone in the data rather than the first one. This just seems more likely to be useful to users
- Add more documentation to
realtime_add_local_datetimeto make how timezones are dealt with clearer (#157) - Expose the query time for realtime functions as an attri
Scientific Software - Peer-reviewed
- R
Published by boshek over 4 years ago
tidyhydat - v0.5.3
tidyhydat 0.5.3
- Allow pkg to loaded without internet and rather just issue an message when it is not. (#149)
- Added
add = TRUEto allon.exitcall so add not to overwrite previous call (#151) - Remove redundant and ill-advised
closeAllConnections(#153) - Update internal data
- Convert most of the docs to markdown (#121)
Scientific Software - Peer-reviewed
- R
Published by boshek almost 5 years ago
tidyhydat - v0.5.1
tidyhydat 0.5.1
- Replace
class(x) ==withinherits - Fix bug and added corresponding tests where a request for multiple stations to
realtime_ddwould fail if any data was missing - Update internal data
- Fix all non-secure or broken links
Scientific Software - Peer-reviewed
- R
Published by boshek over 5 years ago
tidyhydat - v0.5.0
tidyhydat 0.5.0
MINOR FIXES
- Revise multi prov test to realtime because of network load and prone to intermittent failure
- Adding rOpenSci doc site to DESCRIPTION
- Fix character NA's in
hy_stations(#125) - Allow downloading HYDAT to alternative locations (#129)
- Provide better documentation of how change default db location in
hy_set_default_db()
Scientific Software - Peer-reviewed
- R
Published by boshek about 6 years ago
tidyhydat - 0.4.0
tidyhydat 0.4.0
IMPROVEMENTS
- All functions now return either "hy" or "realtime" class with associated print and plot methods (#119)
- provterrstate_loc now accepts a "CA" value to specify only stations located in Canada (#112)
- functions that access internet resources now fail with an informative error message (#116)
- tests that require internet resources are skipped when internet is down
- Add small join example to calculate runoff to introduction vignette (#120)
BUG FIXES
pull_station_numbernow only returns unique values (#109)- Adding a offset column that reflects OlsonNames() and is thus DST independent (#110)
Scientific Software - Peer-reviewed
- R
Published by boshek almost 7 years ago
tidyhydat - 0.3.5
tidyhydat 0.3.5
IMPROVEMENTS
- New function:
realtime_add_local_datetime()adds a local datetime column torealtime_dd()tibble (#64) - New function:
pull_station_number()wrapspull(STATION_NUMBER)for convenience
MINOR BREAKING CHANGES
- In effort to standardize, the case of column names for some rarely used function outputs were changed to reflect more commonly used function outputs. This may impact some workflows where columns are referenced by names (#99).
BUG FIXES
- Functions that have a
start_dateandend_dateactually work with said argument (#98) hy_annual_instant_peaks()now parses the date correctly into UTC and includes a datetime and time zone column. (#64)hy_stn_data_range()now returns actualNA's rather than string NA's (#97)
MINOR IMPROVEMENT
download_hydat()now returns an informative error if the download fails due to proxy-related connection issues (@rywhale, #101).
Scientific Software - Peer-reviewed
- R
Published by boshek over 7 years ago
tidyhydat - v0.3.4
tidyhydat 0.3.4
IMPROVEMENT
- Added rlang as a dependency and applied tidyeval idiom to more safety control variable environments
- 15% speed improvement in
realtime_ddby elimating loop (#91) - 40% speed improvement when querying full provinces (#89)
- reorganized file naming so that helper functions are placed in utils-* files
BUG FIXES
- Fixed
hy_monthly_flowsandhy_monthly_levelsdate issue (#24)
MINOR IMPROVEMENT
- realtime tidying now not duplicated and is handled by a function
- simplified
tidyhydat:::station_choiceand added more unit testing - no longer outputting a message when
station_number = "ALL". - Exporting pipe (
%>%)
Scientific Software - Peer-reviewed
- R
Published by boshek almost 8 years ago
tidyhydat - v0.3.3
tidyhydat 0.3.3
NEW FEATURES
- Open a connection to the HYDAT database directly using
hy_src()for advanced functionality (PR#77). - New vignette outlining
hy_src()(PR#77) - Add some tools to improve the usability of the test database (PR#77).
download_hydat()now useshttr::GET()
MINOR IMPROVEMENTS
- Better downloading messages
BUG FIXES
- Fixed package startup message so it can be supressed. (#79)
- Fixed bug that resulted in
download_hydatchoice wasn't respected. onAttach()now checks 115 days after last HYDAT release to prevent slow package load times if HYDAT is longer than 3 months between RELEASES.- Fixed margin error in
hy_plot() - Fixed a bug in
realtime_plot()that prevented a lake level station from being called - Fixed a bug in
hy_daily()that threw an error when only a level station was called - Added new tests for
hy_daily()andrealtime_plot() - Added
HYD_STATUSandREAL_TIMEcolumns toallstations.
Scientific Software - Peer-reviewed
- R
Published by boshek almost 8 years ago
tidyhydat - v0.3.2
tidyhydat 0.3.2
NEW FEATURES
- New
hy_daily()function which combines all daily data into one dataframe. - Add a quick base R plotting feature for quick visualization of realtime and historical data.
- Add
realtime_daily_meanfunction that quickly converts higher resolution data into daily means. - New vignette outlining some example usage.
BUG FIXES
- Fixed bug in
download_hydat()that create a path that wasn't OS-independent. - Fixed a bug on
download_hydat()where by sometimes R had trouble overwriting an existing version of existing database. Now the old database is simply deleted before the new one is downloaded. hy_annual_instant_peaks()now returns a date object with HOUR, MINUTE and TIME_ZONE returned as separed columns. (#10)- All variable values of LEVEL and FLOW have been changed to Level and Flow to match the output of
hy_data_types. (#60) - Tidier and coloured error messages throughout.
- Review field incorrectly specified the rOpenSci review page. Removed the link from the DESCRIPTION.
Scientific Software - Peer-reviewed
- R
Published by boshek about 8 years ago
tidyhydat - tidyhydat 0.3.1
tidyhydat 0.3.1
NEW FEATURES
- When package is loaded, tidyhydat checks to see if HYDAT is even present
- When package is loaded, it now tests to see if their a new version of HYDAT if the current date is greater than 3 months after the last release date of HYDAT.
- Prep for CRAN release
- Starting to use raw SQL for table queries
- Removing 2nd vignette from build. Still available on github
Scientific Software - Peer-reviewed
- R
Published by boshek about 8 years ago
tidyhydat - tidyhydat 0.3.0
NEW FEATURES
- New NEWS template!
- Moved
station_numberto first argument to facilitate piped analysis (#54) search_stn_nameandsearch_stn_numbernow query both realtime and historical data sources and have tests for a more complete list (#56)- With credential stored in .Renviron file,
ws_tokencan successfully be called byws_token(). .onAttach()checks if HYDAT is downloaded on package load.- Repository migrated over to ropensci after successful peer review process
MINOR IMPROVEMENTS
- Significant function and argument name changes (see below)
- Adding
rappdirsto imports and using to generate download path fordownload_hydat()(#44) - Adding
rappdirsso that all the hy* functions access hydat from `rappdirs::userdatadir()viahydir()` (#44) - Revised and cleaned up documentation including two vignettes (#48)
FULL MONTHevaluate to a logic (#51)- All download tests are skipped on cran (#53)
- Removed time limit for
download_realtime_ws()with some documentation on actual limits. (3234c22)
BUG FIXES
- Add informative error message for a single missing station input (#38)
- No longer trying to build .Rd file for
.onload(#47) - Fixed
SED_MONTHLY_LOADS(#51)
FUNCTION NAME CHANGES (#45)
- hyagencylist <- AGENCY_LIST
- hyannualinstantpeaks <- ANNUALINSTANT_PEAKS
- hyannualstats <- ANNUAL_STATISTICS
- hydailyflows <- DLY_FLOWS
- hydailylevels <- DLY_LEVELS
- hymonthlyflows <- MONTHLY_FLOWS
- hymonthlylevels <- MONTHLY_LEVELS
- hyseddailyloads <- SEDDLY_LOADS
- hyseddailysuscon <- SEDDLY_SUSCON
- hysedmonthlyloads <- SEDMONTHLY_LOADS
- hysedmonthlysuscon <- SEDMONTHLY_SUSCON
- hysedsamples <- SED_SAMPLES
- hysedsamplespsd <- SEDSAMPLES_PSD
- hy_stations <- STATIONS
- hystnremarks <- STN_REMARKS
- hystndatumconv <- STNDATUM_CONVERSION
- hystndatumunrelated <- STNDATUM_UNRELATED
- hystndatarange <- STNDATA_RANGE
- hystndatacoll <- STNDATA_COLLECTION
- hystnopschedule <- STNOPERATION_SCHEDULE
- hystnregulation <- STN_REGULATION
- hyagencylist <- AGENCY_LIST
- hyregofficelist <- REGIONALOFFICE_LIST
- hydatumlist <- DATUM_LIST
- hy_version <- VERSION
- realtimedd <- downloadrealtime_dd
- realtimestations <- realtimenetwork_meta
- searchstnname <- search_name
- searchstnnumber <- search_number
ARGUMENT NAME CHANGES (#45)
- stationnumber <- STATIONNUMBER
- provterrstateloc <- PROVTERRSTATELOC
Scientific Software - Peer-reviewed
- R
Published by boshek over 8 years ago
tidyhydat - v0.2.9
tidyhydat 0.2.9
- Explicitly state in docs that time is in UTC (#32)
- Added test for realtimenetworkmeta and moved to httr to download.
- download functions all use httr now
- removed need for almost all @import statement by referencing them all directly (#34)
- Fixed error message when directly calling some tidyhydat function using :: (#31)
- To reduce overhead,
output_symbolhas been added as an argument so code can be produced if desired (#33)
Scientific Software - Peer-reviewed
- R
Published by boshek over 8 years ago
tidyhydat - v0.2.6
tidyhydat 0.2.6
- using
stylerpackage to format code to tidyverse style guide - added
PROV_TERR_STATE_LOCtoallstations - added
search_numberfunction - added
MONTHLYfunctions - created function families
- added
on.exit()to internal code; a better way to disconnect - Updated documentation
Scientific Software - Peer-reviewed
- R
Published by boshek over 8 years ago
tidyhydat - v0.2.4
tidyhydat 0.2.4
- downloadrealtimedd can now accept stations from multiple provinces or simply select multiple provinces
- better error messages for getwstoken and downloadrealtimews
- All functions that previously accepted STATION_NUMBER == "ALL" now throw an error.
- Added function to download hydat
Scientific Software - Peer-reviewed
- R
Published by boshek over 8 years ago
tidyhydat - tidyhydat 0.2.3
Since last github release
tidyhydat 0.2.3
- Remove significant redundancy in station selecting mechanism
- Added package startup message when HYDAT is out of date
- Add internal allstations data
- Added all the tables as functions or data from HYDAT
- Made missing station ouput truncated at 10 missign stations
tidyhdyat 0.2.2
- Adding several new tables
- removed need for both prov and stn args
- reduced some repetition in code
Scientific Software - Peer-reviewed
- R
Published by boshek over 8 years ago