Git Product home page Git Product logo

covidep's Introduction

Covidep

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/

How to run this application on local?

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.

How to update the data?

SPF (Santé publique France) provide updated data day by day through their information systems:

  1. on the first link, download the CSV file called donnees-hospitalieres-covid19-2021\*.csv
  2. on the second one, download the files sp-pe-std-quot-dep-2021\*.csv and sp-pe-std-quot-fra-2021\*.csv (useful to calculate the incidence rate)
  3. save it in the script folder
  4. 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.

Credits

The borders of the departments come from the France GeoJSON project by Grégoire David.

All the data are provided by Santé publique France.

covidep's People

Contributors

alex-bzh avatar

Watchers

 avatar  avatar

Forkers

lamjar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.