Comments (3)
For the download issue that does seem like a bug. For now you can run this code if you need to get up and running:
library(tidyhydat)
temp_zip <- tempfile(fileext = ".zip")
curl::curl_download(
"https://collaboration.cmc.ec.gc.ca/cmc/hydrometrics/www/Hydat_sqlite3_20220721.zip",
quiet = FALSE,
destfile = temp_zip
)
unzip(temp_zip, exdir = hy_dir())
For the flow data, that is actually quite good for HYDAT. Remember that all the data has to be validated before going into HYDAT. That fact that they have data up to Feb 2022 is pretty good. HYDAT is a great tool for historical analysis.
from tidyhydat.
Thanks for the update! I had assumed so far that with every new publication, all data until the date of publication is validated (since realtime data does exist all the way until July, and onward). Good to know that this is not that case.
This fix works for now, thank you. Let me know if you need anything more from me regarding the bug.
from tidyhydat.
@saeeshm a new version is on its way to cran right now but you may have noticed that my fix wasn't really a fix. Try installing from github (remotes::install_github("ropensci/tidyhydat")
) and see if that works. Thanks for reporting!
from tidyhydat.
Related Issues (20)
- Add GoC as data contributor
- realtime_add_local_datetime converts date time incorrect HOT 3
- Plots aren't rendering on pkgdown page
- Expose attributes on realtime data HOT 1
- Using `download_hydat` without a keypress? HOT 1
- Add HYDAT citation function HOT 1
- CRAN CHECK PROBLEMS
- Missing realtime data HOT 1
- Failure with released tidyhydat and dev dbplyr HOT 1
- download_hydat() fails to update local hydat copy HOT 1
- I know how to force download, but I'd like to try and use whatever the import message is putting out to know if I have the updated version before I run download_hydat(dl_hydat_here = NULL, ask = FALSE).
- Library failing to import HOT 7
- download_hydat() fails if download directory does not already exist HOT 9
- Issue with download_hydat() during extraction HOT 3
- Water temperature data availability HOT 3
- Recent data not in database HOT 4
- Use httr2
- Add documentation about realtime_ws
- realtime_ws() server side daily averages to speed up download for Shiny App HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tidyhydat.