Coder Social home page Coder Social logo

Comments (3)

boshek avatar boshek commented on June 3, 2024

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.

saeeshm avatar saeeshm commented on June 3, 2024

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.

boshek avatar boshek commented on June 3, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.