29 lines
		
	
	
		
			752 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			752 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
 | |
| 
 | |
| 
 | |
| ## Installation
 | |
| 
 | |
| ```bash
 | |
| pip install -r requirements.txt
 | |
| ```
 | |
| 
 | |
| ## 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 dress.py
 | |
| ```
 | |
| 
 | |
| **NOTE** : 
 | |
| * `-r` option is used to fetch update data
 | |
| * `dress.py` includes **--to-html** to generate html page with plots |