GithubHelp home page GithubHelp logo

ndevln / covid-19-vaccinations-germany Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mathiasbynens/covid-19-vaccinations-germany

0.0 1.0 0.0 1.54 MB

Historical data on COVID-19 vaccination doses administered in Germany, per state.

Home Page: https://mathiasbynens.github.io/covid-19-vaccinations-germany/

License: MIT License

JavaScript 25.64% Shell 0.20% HTML 74.16%

covid-19-vaccinations-germany's Introduction

COVID-19 vaccination doses administered in Germany, per state

The year is 2021. The RKI is sharing vaccination statistics through an Excel spreadsheet. The spreadsheet only contains detailed data for a single day at a time — meaning historical data is lost every time the sheet gets updated.

This repository aims to…

  1. extract the data into CSV for easier machine-readability
  2. pull in hourly, automated updates
  3. preserve the historical data for each German state
  4. visualize the data with charts

As of 2021-02-11, this repository also provides data on vaccine orders being delivered into Germany.

CSV details

pubDate vs. date

The CSV contains two date columns:

  • pubDate refers to the “last modified” date of the source sheet, as found in the Excel file’s metadata.
  • date refers to the date of the vaccination statistics, as listed in the Excel sheet’s contents.

Usually, the spreadsheets containing the statistics for day X are published on day X + 1, but there have been exceptions where the stats got published on the same day. In case multiple spreadsheets are released containing data for the same date, we only consider the latest version.

initialDoses* vs. finalDoses*

  • Any columns with the initialDoses prefix refer exclusively to first doses of vaccines that require two doses in total (i.e. Pfizer/BioNTech, Moderna, or AstraZeneca).
  • Any columns with the finalDoses prefix refer exclusively to
    • second doses of vaccines that require two doses in total (i.e. Pfizer/BioNTech, Moderna, or AstraZeneca), and
    • doses of vaccines that only require a single dose (i.e. Johnson & Johnson).

Partially vs. fully vaccinated

There’s been some confusion about what “partial” vaccination means. Given that there are multiple potentially interesting metrics that RKI does not report directly, we derive and expose the following additional columns:

  • onlyPartiallyVaccinatedCumulative: the number of people who are partially vaccinated but still need a second shot. (They received exactly 1 dose of Pfizer/BioNTech, Moderna, AstraZeneca, and still need a second dose to become fully vaccinated.)
  • onlyPartiallyVaccinatedPercent
  • atLeastPartiallyVaccinatedCumulative: the number of people who received at least one vaccination. (They received at least 1 dose of Pfizer/BioNTech, Moderna, AstraZeneca, or Johnson & Johnson. This includes people who received 2 doses of Pfizer/BioNTech, Moderna, or AstraZeneca.)
  • atLeastPartiallyVaccinatedPercent
  • fullyVaccinatedCumulative: the number of people who received either 1 dose of Johnson & Johnson; or 2 doses of Pfizer/BioNTech, Moderna, or AstraZeneca.
  • fullyVaccinatedPercent

Deprecated columns

As of 2021-04-08, RKI stopped reporting the following data points:

  • initialDosesDueToAge
  • initialDosesDueToProfession
  • initialDosesDueToMedicalReasons
  • initialDosesToNursingHomeResidents
  • finalDosesDueToAge
  • finalDosesDueToProfession
  • finalDosesDueToMedicalReasons
  • finalDosesToNursingHomeResidents

These columns are still included in the CSV as they contain potentially useful data for prior dates.

Anomalies in the data

Cumulative vaccination metrics cannot decrease over time, yet sometimes the reported data contains such a “drop” (as reflected in the charts). These anomalies match the data reported by the RKI, which sometimes overreports statistics and then corrects the numbers for the next day, or vice versa. (Sadly, the RKI doesn’t publish corrected numbers for the previous day, else we could retroactively correct our data.)

date state metric previous value current value delta
2021-01-17 Mecklenburg-Vorpommern initial doses 37,570 37,564 -6
2021-01-17 Mecklenburg-Vorpommern total doses 37,570 37,564 -6
2021-01-17 Sachsen-Anhalt initial doses 33,182 33,148 -34
2021-01-19 Bremen initial doses 12,866 12,799 -67
2021-01-19 Mecklenburg-Vorpommern final doses 1,157 379 -778
2021-01-21 Saarland initial doses 18,612 16,773 -1,839
2021-01-26 Bayern final doses 93,628 86,350 -7,278
2021-01-26 Bayern initial doses 290,683 278,653 -12,030
2021-01-26 Bayern total doses 384,311 365,003 -19,308
2021-02-11 Mecklenburg-Vorpommern initial doses 64,308 60,805 -3,503
2021-02-11 Mecklenburg-Vorpommern total doses 93,200 92,448 -752
2021-02-28 Mecklenburg-Vorpommern initial doses 79,502 79,501 -1
2021-02-28 Mecklenburg-Vorpommern total doses 128,499 128,498 -1
2021-03-12 Nordrhein-Westfalen final doses 558,007 514,244 -43,763
2021-03-12 Nordrhein-Westfalen initial doses 1,240,927 1,201,981 -38,946
2021-03-12 Nordrhein-Westfalen total doses 1,798,934 1,716,225 -82,709
2021-03-30 Hamburg final doses 91,010 89,410 -1,600
2021-03-30 Hamburg initial doses 219,143 209,069 -10,074
2021-03-30 Hamburg total doses 310,153 298,479 -11,674
2021-03-30 Mecklenburg-Vorpommern initial doses 166,043 165,242 -801
2021-03-30 Rheinland-Pfalz final doses 182,576 177,288 -5,288
2021-03-30 Rheinland-Pfalz initial doses 493,446 485,363 -8,083
2021-03-30 Rheinland-Pfalz total doses 676,022 662,651 -13,371
2021-04-09 Brandenburg initial doses 427,850 404,970 -22,880
2021-04-09 Brandenburg total doses 554,574 536,065 -18,509
2021-04-28 Brandenburg final doses 180,753 174,796 -5,957

These are not issues in our scripts!

Related projects

To view historical snapshots of the source Excel files from the RKI, consult evilpie/Impfquotenmonitoring or ard-data/2020-rki-impf-archive.

To view similar data for the city of Munich specifically, refer to mathiasbynens/covid-19-vaccinations-munich.

This repository complements the incredible owid/covid-19-data project, which includes vaccination data for Germany as a whole, but not for individual German states. The sociepy/covid19-vaccination-subnational project offers a global collection of regional vaccination data, and relies on our data (❤️).

covid-19-vaccinations-germany's People

Watchers

 avatar

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.