...
to print methods so you can pass arguments all the way down. realtime_*
functions from workingrealtime_ws
now returns the Approval/Approbation
column 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. realtime_ws
!.data
pronoun throughouthy_remote
function which looks to see what version is available from ECCC (#183)download_hydat()
now has an ask
parameter that can be used to bypass the keypress confirmation when downloading the HYDAT database (@rchlumsk, #165). realtime_add_local_datetime
to make how timezones are dealt with clearer (#157)add = TRUE
to all on.exit
call so add not to overwrite previous call (#151)closeAllConnections
(#153)hy_check
to verify that HYDAT contains all the right tables and that those tables contain data. class(x) ==
with inherits
realtime_dd
would fail if any data was missinghy_stations
(#125)hy_set_default_db()
pull_station_number
now only returns unique values (#109)R_CHECK_LENGTH_1_CONDITION
instancesrealtime_add_local_datetime()
adds a local datetime column to realtime_dd()
tibble (#64)pull_station_number()
wraps pull(STATION_NUMBER)
for conveniencestart_date
and end_date
actually 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 actual NA
's rather than string NA's (#97)download_hydat()
now returns an informative error if the download fails due to proxy-related connection issues (@rywhale, #101). realtime_dd
by eliminating loop (#91)hy_monthly_flows
and hy_monthly_levels
date issue (#24)tidyhydat:::station_choice
and added more unit testingstation_number = "ALL"
.%>%
)hy_src()
for advanced functionality (PR#77).hy_src()
(PR#77)download_hydat()
now uses httr::GET()
download_hydat
choice 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.hy_plot()
realtime_plot()
that prevented a lake level station from being calledhy_daily()
that threw an error when only a level station was calledhy_daily()
and realtime_plot()
HYD_STATUS
and REAL_TIME
columns to allstations
. hy_daily()
function which combines all daily data into one dataframe.realtime_daily_mean
function that quickly converts higher resolution data into daily means.download_hydat()
that create a path that wasn't OS-independent.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)hy_data_types
. (#60)station_number
to first argument to facilitate piped analysis (#54)search_stn_name
and search_stn_number
now query both realtime and historical data sources and have tests for a more complete list (#56)ws_token
can successfully be called by ws_token()
..onAttach()
checks if HYDAT is downloaded on package load.rappdirs
to imports and using to generate download path for download_hydat()
(#44)rappdirs
so that all the hy_* functions access hydat from rappdirs::user_data_dir()
via hy_dir()
(#44)FULL MONTH
evaluate to a logic (#51)download_realtime_ws()
with some documentation on actual limits. (3234c22).onload
(#47)SED_MONTHLY_LOADS
(#51)output_symbol
has been added as an argument so code can be produced if desired (#33)download_realtime_ws
(#27)STN_*
functionsSTN_DATUM_RELATED
STN_DATA_RANGE
bug (#26)styler
package to format code to tidyverse style guidePROV_TERR_STATE_LOC
to allstations
search_number
functionMONTHLY
functionson.exit()
to internal code; a better way to disconnectRenamed real-time function as download_realtime and download_realtime2 Added more units tests Wrote vignette for package utilization Brought all data closer to a "tidy" state
Added ability for STATIONS to retrieve ALL stations in the HYDAT database Added ability for STATIONS to retrieve ALL stations in the HYDAT database Standardize documentation; remove hydat_path default Better error handling for download_realtime Update documentation Adding param_id data, data-raw and documentation Dates filter to ANNUAL_STATISTICS and DLY_FLOWS; func and docs DLY_LEveLS function and docs download_ws and get_ws_token function and docs UPDATE README
Added ability for STATIONS to retrieve ALL stations in the HYDAT database Added ability for STATIONS to retrieve ALL stations in the HYDAT database Standardize documentation; remove hydat_path default Better error handling for download_realtime Update documentation Adding param_id data, data-raw and documentation Dates filter to ANNUAL_STATISTICS and DLY_FLOWS; func and docs DLY_LEveLS function and docs download_ws and get_ws_token function and docs UPDATE README
fixed db connection problem; more clear documentation better error handling; more complete realtime documentation *harmonized README with standardized arguments
Added example analysis to README Added devex badge; license to all header; import whole readr package Able to take other protidyhydat inces than BC now Update documentation; README
Initial package commit Add license and include bcgotidyhydat files in RBuildIgnore Two base working function; package level R file and associated documentation Only importing functions used in the function Update README with example Added download_ functions Added ANNUAL_STATISTICS query/table and docs Updated docs and made DLY_FLOWS more rigorous
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.