Visualize the evolution of the mortality of the SARS-CoV-2 in France, since the start of confinement pronounced on March 18, 2020, department by department. The datasets also provide insight into the global capacity of intensive care units in hospital alongside with the extent of contamination through the incidence rate in the departments.
A demonstration is available at https://apps.roulois.fr/covidep/
You need a Web server to launch the application. There are several ways to do so. On Linux and MacOS platforms, you can for example call python
or php
utilities:
$ python -m http.server 8080
$ php -S localhost:8080
Then, open your web browser and navigate to the URL http://localhost:8080
.
SPF (Santé publique France) provide updated data day by day through their information systems:
- on the first link, download the CSV file called
donnees-hospitalieres-covid19-2021\*.csv
- on the second one, download the files
sp-pe-std-quot-dep-2021\*.csv
andsp-pe-std-quot-fra-2021\*.csv
(useful to calculate the incidence rate) - save it in the
script
folder - run the script
data_to_JSON.py
$ python data_to_JSON.py
This procedure will update the files in the data
folder on which the application is based.
The borders of the departments come from the France GeoJSON project by Grégoire David.
All the data are provided by Santé publique France.