Git Product home page Git Product logo

czech-covid-db's Introduction

czech-covid-db

I started this project on 19.3. 2020. I wanted to make a COVID-19 visualisation website of czech data, but there wasn't a open dataset for CZ. I didn't want to manually write the numbers into a spreadsheet everyday, so I came with a solution: make a script that will check the wikipedia page in a regular time period. If it detects a change, it saves it as a record by appending a row to the CSV tables.

On 28.3., an official open dataset was released

But it doesn't have everything as i would need. So I made a new script that parses data from wikipedia (into the repo root dir) and also from the official page into new CSV tables in the uzis dir.

  • Problem: They don't have a spreadsheet about recovered cases and deaths, only current numbers on the page.
    • Solution: Copy my records_deaths and records_recovered files that were updated by wikipedia's numbers into the uzis dir. Now check the website's current numbers, and if they change, append a record to the CSV files (records_recovered_uzis.csv, records_deaths_uzis.csv)
  • Problem: They have a JSON about every infected person, but I would need a records spreadsheet with numbers for individual regions, individual import states and age groups
    • Solution: Parse the persons.json files and create new CSV files from it.
records_tests_uzis.csv is the only file that is nearly the same as the original tests file from opendata.

Used by

  • koronagrafy - a page with chart visualisations and prediction of the pandemic

If you use this repository, feel free to create a issue mentioning your project. I will add your project here.

czech-covid-db's People

Contributors

czech-covid-db-automatic-updater avatar kukosek avatar

Stargazers

 avatar

Watchers

 avatar

czech-covid-db's Issues

Nejede to

CSV nejsou aktualizivána už od konce ledna.

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.