ropensci / weathercan

R package for downloading weather data from Environment and Climate Change Canada
https://docs.ropensci.org/weathercan
GNU General Public License v3.0
102 stars 29 forks source link

Add progress message #58

Open steffilazerte opened 6 years ago

steffilazerte commented 6 years ago

Add progress message to weather_html() under verbose conditions. This will act like a progress indicator for large downloads, so users can see that things are progressing.

boshek commented 6 years ago

httr::progress() might do the trick here.

steffilazerte commented 6 years ago

That will work for single downloads, but the really long ones are where it downloads multiple files. I don't think this would apply to that scenario, right?

Best would be if purrr had progress bars, or alternatively, maybe this solution using the progress package: https://stackoverflow.com/a/46517585