JoviaNierenberg / COVID-Event-Safety-Modeling

A model for simulating various mitigation measures for the reopening of events during the COVID-19 pandemic.
1 stars 2 forks source link

Update covidactnow data daily #99

Open JoviaNierenberg opened 2 years ago

JoviaNierenberg commented 2 years ago

Maia commented on the sentences "We base our prevalence calculation on reported cases on Covid Act Now,20 a 10-day period of infectivity,21,22 the CDC’s estimation that 1 in 4.2 cases are reported23, and the state’s population." She said:

We plan to use a Heroku script to pull the Covid Act Now data.

Shagun says: "Next I have the script for updating covidactnow data daily - however I havent had time to look at how heroku scheduler works. If @Saahil has time to look at this it would be great & I can pass on the script - we only need it to run once every 24 hours - anytime after noon EST."

JoviaNierenberg commented 2 years ago

In the paper, state "We update data from Covid Act Now and covidestim daily."

Need app to do this

shagunn commented 2 years ago

Data auto update file added. Need to add the heroku config variable (setup by Jovia) to the code and setup heroku scheduler to run script daily.