Comments (9)
When you say cache it locally, do you actually mean check it in with a pull request?
from covasim.
Or directly commit into repo, at least for now, via deploy key. @cliffckerr are you ok with this approach?
Every day (or hour) we could pull latest data from JHL, process it and cache it locally. We'd need to create deploy key and save it as action secret
from covasim.
@inc0 if we're committing data, this should probably not be in the covasim repo -- potentially synthpops but maybe best to have a separate module/repo for it?
from covasim.
or actually we can just have something like python download_data.py
and entry to .gitignore?
from covasim.
works for me! we can have a gitignored data
folder and a script to update it
from covasim.
I am working on a script to pull in the neherlab data as part of: #45
I ended up with a folder structure of:
covasim/datasets/sources/
Where the data will live
covasim/dataset/translators.py
Which is holding the translators to get datasets to the format we want
covasim/datasets/update_sources.py
Which pull in the source files when run.
I was also thinking about adding a reference file that could tell us which of the source files contain which countries data. This could be generated by update sources and dropped in the sources file.
I was speaking with Scott Ayers and he could also use the reference file for some front end work he is doing. So it serves a few purposes.
from covasim.
Some comments/questions
- The John Hopkins data is only updated daily, no need to pull more often
- Why do we need to check in a copy of the data into this repo? We can reference the URL of the data directly. Most data science libraries allow you to reference the URLs of CSV files as a filehandle
from covasim.
@hamelsmu yes, i think we're in agreement -- we'd have a script to manually update the data into a git-ignored folder
from covasim.
Ah yes, sorry I misread the thread -- my apologies
from covasim.
Related Issues (20)
- Vaccination affects random seed HOT 3
- Possible typo in Voila doc example on ipywidgets import HOT 2
- bug within the analysis.py (not able to pass **kwargs) HOT 2
- Error in cv.make_synthpop HOT 2
- Faulty error message: rel_imm_variant is not a valid key HOT 2
- Set vaccine efficacy via vaccinate_num() HOT 1
- Analyzer and sim.compute_fit() give different `n_dead` HOT 1
- Hanging comma on `plots` value in defaults.get_default_plots() causes `sim.plot(to_plot='seir')` to fail HOT 1
- FAQ: Counting tests, diagnoses & infections?
- Release log date bug HOT 1
- No impact from changing the βnab_effβ parameter HOT 1
- Covasim tutorials on Binder fail on sciris import HOT 2
- The copyright footer needs to be updated to MIT
- Not all agents are present in household layer in a hybrid population HOT 5
- Best way to use decision making models for each person in a population HOT 1
- Interaction between the pop_scale, pop_infected, and rescale parameters
- how to load custom location.json generated by SynthPops? HOT 1
- Bug in tut_intro.ipynb when calling cv.MultiSim HOT 2
- Contact between identical agentid? HOT 2
- covasim - local doc build failing (make html) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covasim.