wpgp / wopr

An R package and Shiny application to provide API access to the WorldPop Open Population Repository (WOPR)
https://apps.worldpop.org/woprVision
GNU General Public License v3.0
36 stars 7 forks source link

File size attribute in API #4

Closed doug-leasure closed 4 years ago

doug-leasure commented 4 years ago

We need an attribute 'filesize' in the API return for each file from http://wopr.worldpop.org/api/v1.0/data

I added code to downloadData() that will allow users to set a threshold when downloading files from WOPR so they can skip large files (default=50MB)