-
Notifications
You must be signed in to change notification settings - Fork 346
Open
Labels
IMPORTANTTake this immediately!Take this immediately!good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededs:confScope: related to configurationScope: related to configurations:dataScope: related to data retrieval, parsing, transformation, storage, updateScope: related to data retrieval, parsing, transformation, storage, updates:infraScope: related to infrastructure, continuous integration, deploymentScope: related to infrastructure, continuous integration, deploymentt:featType: request of a new feature, functionality, enchancementType: request of a new feature, functionality, enchancement
Description
π Feature Request
π¦ Context
Currently all the data (default scenarios, case counts, age and severity distributions)
https://github.com/neherlab/covid19_scenarios/tree/master/src/assets/data
is being bundled into the app directly with webpack, using static import. For example:
| import ageDistributionRaw from '../../assets/data/ageDistribution.json' |
This is an easy solution
- one line of code to load the data
- data is always guaranteed to be present
but is not very practical:
- users rarely need more then one or a few regions (see also Split app data per region and load on demandΒ #743)
- updating case counts and scenarios requires a new app release
π― Describe the feature
We want to evaluate different mechanisms of loading and updating the data.
The new mechanism should:
- allow for independent releases of the app and data
- ensure robustness of data loading
- not change the schemas too much, to allow backwards compat for existing URLs and file imports/exports
π» Examples
π Possible Solution
For example, we could load the data to the public S3 bucket and the load it with a plain HTTP request and validating it afterwards.
We are open for other proposals.
Related
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
IMPORTANTTake this immediately!Take this immediately!good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededs:confScope: related to configurationScope: related to configurations:dataScope: related to data retrieval, parsing, transformation, storage, updateScope: related to data retrieval, parsing, transformation, storage, updates:infraScope: related to infrastructure, continuous integration, deploymentScope: related to infrastructure, continuous integration, deploymentt:featType: request of a new feature, functionality, enchancementType: request of a new feature, functionality, enchancement