33 lines
920 B
Markdown
33 lines
920 B
Markdown
# README
|
|
|
|
A simple covid plotter.
|
|
|
|
Data are provided by :
|
|
* https://github.com/owid/covid-19-data/tree/master/public/data
|
|
* https://data.drees.solidarites-sante.gouv.fr/api/records/1.0/search/?dataset=covid-19-resultats-par-age-issus-des-appariements-entre-si-vic-si-dep-et-vac-si&q=&rows=-1&facet=date&facet=vac_statut&facet=age
|
|
|
|
## Requirements
|
|
* Python >=3.8.10
|
|
|
|
## Installation
|
|
version: your ubuntu version (20.04 or 22.04)
|
|
|
|
```bash
|
|
pip install -r requirements/requirements_<version>.txt
|
|
```
|
|
**NOTE**: adjust the requirements if linux distro does not match
|
|
|
|
## Launch
|
|
|
|
```bash
|
|
# owid dataset
|
|
python owid.py <country_trigram> <var_1> <var_2> <var..n>
|
|
# Ex : python owid.py FRA new_cases_smoothed new_deaths_smoothed people_fully_vaccinated hosp_patients
|
|
|
|
# drees dataset
|
|
python drees.py
|
|
```
|
|
**NOTE** :
|
|
* `-r` option is used to fetch update data
|
|
* `drees.py` includes **--to-html** to generate html page with plots
|