Giter Club home page Giter Club logo

covid-19-divi-charts's Introduction

DIVI Catcher and Report Generator

This little website/tool simple plots the german intensive care unit (ICU) numbers provided by the "DIVI-Intensivregister" regarding the COVID-19 pandemic.

The website and tools are open source, do whatever you want with it.

The data is strictly not open source, but owned by DIVI e.V.

So it should not be included in the repo. But to prevent everybody from re-downloading the same (partially broken) CSVs again, i just added them to the repo until somebody forbids it. :)

A daily updated version of the website can be found here.

General reminder

This is all rather hacky. Don't expect to check this repo out and it just works for you. :)

catcher.pl

Just a short perl script to fetch alle CSV-Files from the DIVI website

Currently the code only tries to fetch the last two pages (~40 Days) of the CSV-Reports, since all CSV until 26. of october are already included. If you need to fetch more/refetch everything you need to manually change the value of $maxPageOffset to your needs.

report-generator.pl

Just a short perl script to iterate through all CSV files and create daily summaries. The script outputs a valid Javascript file, meant to be redirected into data.json like this:

perl report-generator.pl > data.js

index.html

Just the needed HTML/JavaScript code to plot the data with the help of the highcharts library.

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.