ropensci / piggyback

:package: for using large(r) data files on GitHub
https://docs.ropensci.org/piggyback
GNU General Public License v3.0
185 stars 26 forks source link

`pb_download` tries browser download URLs first to reduce ratelimiting #110

Closed tanho63 closed 9 months ago

tanho63 commented 9 months ago

Resolves #109

Changes

Adds download_url to gh_download_asset and then tries to download from there first, falling back to the previous API download and download redirection after that if for some reason it doesn't work.

Other changes

cboettig commented 9 months ago

p.s. @tanho63 just wanted to say it's also such great fun working with you!

tanho63 commented 9 months ago

Thanks, pleasure is mine! I think this is one of the first non-football-specific packages I've helped out with and I'm glad to keep pushing it forward where helpful