Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix download_hydat function from {tidyhydat} #1

Open
boshek opened this issue Oct 7, 2019 · 1 comment
Open

Fix download_hydat function from {tidyhydat} #1

boshek opened this issue Oct 7, 2019 · 1 comment
Labels
geospatial hackathon Issues that could be tackled at the geospatial hackathon

Comments

@boshek
Copy link
Contributor

boshek commented Oct 7, 2019

tidyhydat is a package that uses Environment Canada's HYDAT database to extract streamflow data into R. The package has a function called download_hydat that downloads the function and stores it locally in a standard location across OS's. Sometimes however a user may want to download it to a specific place. The steps are:

  1. Ask user if they want to download
  2. Download file
  3. Unzip it
  4. Move the file where the user wants it.

The unzipping process seems fragile when one wants to download the HYDAT database to a non-standard location. More details here:

ropensci/tidyhydat#129

@boshek boshek added the geospatial hackathon Issues that could be tackled at the geospatial hackathon label Oct 7, 2019
@boshek
Copy link
Contributor Author

boshek commented Nov 8, 2019

Combined with #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
geospatial hackathon Issues that could be tackled at the geospatial hackathon
Projects
None yet
Development

No branches or pull requests

1 participant