This is the code repository for covid19mg.org
Data are obtained from daily press briefings presented by the Coronavirus Operational Task force of the government of Madagascar.
The details and accuracy of the figures presented here are contingent upon the publicly available information communicated by the Government of Madagascar through the press.
The data on the coronavirus cases presented on this dashboard are updated daily and are available herefor download.
We use Rmarkdown
and flexdashboard
to create html outputs and host the dashboard on github pages. Instructions for hosting static html pages without Jekyll are here.
The two key ingredients:
- A hidden file .nojekyll at the top level of your repository.
- A landing html page called index.html. You can link to other html files using relative paths (i.e. works the same as in readmes). See the navbar in the yaml of dashboard2.Rmd for an example.
Data and translations are pulled in daily using the googlesheets4
package.
The bash script update.sh renders the html outputs using Rmarkdown
and pushes to this repository. This script is run approximately once per day.
- Fidisoa Rasambainarivo
- Tanjona Ramiadantsoa
- Santatriniaina Randrianarisoa
- Malavika Rajeev
- Benjamin Rice
- C. Jessica Metcalf
- The Center for Health and Wellbeing
- Metcalf Lab at Princeton University
- Mahaliana Labs
- Automate using github actions & docker.
- Integrate Rt estimation into this (code is currently here)
- Fix Rt colors & write function to pull and plot regional results.
- Document/clean-up dependencies