unicef / carrotjuice2

Front end to resources repo. Defaults to Brazil but will eventually be virus and country agnostic.
1 stars 1 forks source link

Only allow selecting dates for which we have data. #38

Open jetpack opened 8 years ago

jetpack commented 8 years ago

This'll be a bit tricky, since there are many sources of data (weather, epi, mobility), and there are more dimensions other than time (country, admin region), so we could do this in different ways, but initial proposal:

Limit date picker to dates for which there's any data for the selected countries. Most users will be focused on 1 country at a time, so let's design for that. We need to allow selecting dates for which any data source has data, because otherwise the lack of data from 1 source blocks access to data from all sources.

Work: