Coder Social home page Coder Social logo

leko / data-jp-covid19-vaccination Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 0.0 236 KB

This is an unofficial repository of CSVs extracted from the Excel files posted on the Prime Minister of Japan website. Auto-updated.

License: MIT License

TypeScript 100.00%
times-vaccinations historical-data covid-19

data-jp-covid19-vaccination's Introduction

data-jp-covid19-vaccination

This is an unofficial repository to make the Excel files of vaccination results available on the Prime Minister's Office of Japan (首相官邸) website machine-readable. This repository will be automatically updated when the Excel is updated.

Directory structure

If you just want to get the latest data, you can refer to latest.csv or latest.json in each directory. If you're going to get historical data by prefecture, please refer to {{DATE}}.csv or {{DATE}}.json. Note that historical data may not be updated daily as the government does not update the official data every day. They will be saved on the day the Excel is updated.

data/
├── nationwide
│   ├── medical_workers
│   │   ├── latest.csv
│   │   └── latest.json
│   └── senior_citizen
│       ├── latest.csv
│       └── latest.json
└── prefecture
    ├── medical_workers
    │   ├── {{DATE}}.csv
    │   ├── {{DATE}}.json
    │   ├── latest.csv
    │   └── latest.json
    └── senior_citizen
        ├── {{DATE}}.csv
        ├── {{DATE}}.json
        ├── latest.csv
        └── latest.json

Data structure: CSV

Data structure: nationwide/**/*.csv

head -n2 data/nationwide/medical_workers/latest.csv
date,total_vaccinations,1st_vaccinations,2nd_vaccinations
2021-04-13,53986,13896,40090
  • date: Day. YYYY-MM-DD
  • total_vaccinations: The number of times vaccinations on that day
  • 1st_vaccinations_pfizer: Number of doses of Pfizer vaccine per day for the first time
  • 2nd_vaccinations_pfizer: Number of doses of Pfizer vaccine per day for the second time
  • 1st_vaccinations_moderna: Number of doses of Moderna vaccine per day for the first time
  • 2nd_vaccinations_moderna: Number of doses of Moderna vaccine per day for the second time
  • 1st_vaccinations: 1st_vaccinations_pfizer + 1st_vaccinations_moderna
  • 2nd_vaccinations: 2nd_vaccinations_pfizer + 2nd_vaccinations_moderna

Data structure: prefecture/**/*.csv

head -n2 data/prefecture/medical_workers/latest.csv
code,prefecture,total_vaccinations,1st_vaccinations,2nd_vaccinations
01,北海道,146108,95871,50237
  • code: For sorting. 01~46
  • prefecture: Prefecture name such as 北海道, 東京都, 京都府, and 神奈川県
  • total_vaccinations: The number of times total vaccinations
  • 1st_vaccinations_pfizer: Number of doses of Pfizer vaccine per day for the first time
  • 2nd_vaccinations_pfizer: Number of doses of Pfizer vaccine per day for the second time
  • 1st_vaccinations_moderna: Number of doses of Moderna vaccine per day for the first time
  • 2nd_vaccinations_moderna: Number of doses of Moderna vaccine per day for the second time
  • 1st_vaccinations: 1st_vaccinations_pfizer + 1st_vaccinations_moderna
  • 2nd_vaccinations: 2nd_vaccinations_pfizer + 2nd_vaccinations_moderna

Data structure: JSON

Data structure: nationwide/**/*.json

[
  {
    "date": "2021-04-13",
    "total_vaccinations": 53986,
    "1st_vaccinations": 13896,
    "2nd_vaccinations": 40090
  }
  // ...
]
  • date: Day. YYYY-MM-DD
  • total_vaccinations: The number of times vaccinations on that day
  • 1st_vaccinations: The number of times the first vaccine was given on that day
  • 2nd_vaccinations: The number of times the second vaccine was given on that day

Data structure: prefecture/**/*.json

[
  {
    "code": "01",
    "prefecture": "北海道",
    "total_vaccinations": 164622,
    "1st_vaccinations": 110357,
    "2nd_vaccinations": 54265
  }
  // ...
]
  • code: For sorting. 01~46
  • prefecture: Prefecture name such as 北海道, 東京都, 京都府, and 神奈川県
  • total_vaccinations: The number of times total vaccinations
  • 1st_vaccinations: The number of times the first vaccine was given on that day
  • 2nd_vaccinations: The number of times the second vaccine was given on that day

data-jp-covid19-vaccination's People

Contributors

github-actions[bot] avatar leko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

data-jp-covid19-vaccination's Issues

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.