thinkingmachines / geowrangler

🌏 A python package for wrangling geospatial datasets
https://geowrangler.thinkingmachin.es/
MIT License
48 stars 15 forks source link

Allow ookla download to accept a date range request and aggregate stats for all the downloaded stats #128

Open butchtm opened 2 years ago

butchtm commented 2 years ago

This would be better if it accepted a date range - e.g. start = pd.to_datetime('2019-01-01') end = pd.to_datetime('2022-08-01') speeds = ookla.get_ookla_data(start,end)

(Resulting dataframe would be a single aggregated dataframe of all the Ookla parquet files inside the date range, aggregated by mean(up/down), sum(total_devices) )

Originally posted by @AnthonyMockler in https://github.com/thinkingmachines/geowrangler/issues/127#issuecomment-1216809434