Giter VIP home page Giter VIP logo

covid19india-api's Introduction

COVID19-India API

A volunteer-driven, crowdsourced database for COVID-19 stats & patient tracing in India

https://github.com/covid19india/api

Update [27 April]

Due to the growing size of the raw data, and the fact that regions like DL, MH, TG are only providing district level information, we have made a change in our data collection. Now, raw data is available in three parts :

api.covid19india.org/raw_data1.json (Data till EoD Apr 19th)
api.covid19india.org/raw_data2.json (Data till EoD Apr 26th)
api.covid19india.org/raw_data3.json (Live ๐Ÿš€)

Also, there are some structural difference in raw_data3.json : When a new report/bulletin is released from a state regarding confirmed cases :

  1. If patient level information is available (from several states like KA,KL,BH etc.), that is captured.

  2. If only districtwise information is available, one row is entered for each district, and "numcases" field mentions the number of cases in that district

  3. If only statewise information is available, one row is added added for the entire state (DL ๐Ÿ‘€)

  4. Recoveries and Deceased information is also available through raw_data3.json now. Use the "Current Status" field to extract that information.

All other aggregate APIs retain the same behaviour. CSV files for the same are also available through api.covid19india.org/csv/latest/raw_data{n}.csv

JSON

Status Data URL
๐Ÿ’š Patient Level : Raw Data Partition 1 (Till Apr 19) https://api.covid19india.org/raw_data1.json
๐Ÿ’š Patient Level : Raw Data Partition 2 (From Apr 20 to Apr 26) https://api.covid19india.org/raw_data2.json
๐Ÿ’š Patient Level : Raw Data Partition 3 (From Apr 27 to Now) https://api.covid19india.org/raw_data3.json
๐Ÿ’š National Level :Time series, State-wise stats and Test counts https://api.covid19india.org/data.json
๐Ÿ’š State Level : has district-wise info https://api.covid19india.org/state_district_wise.json
๐Ÿ’š State Level : has district-wise info V2 (minor difference in structure) https://api.covid19india.org/v2/state_district_wise.json
๐Ÿ’š State Level : Daily changes https://api.covid19india.org/states_daily.json
๐Ÿ’š State Level : Testing data https://api.covid19india.org/state_test_data.json
๐Ÿ’š District Level : Daily changes https://api.covid19india.org/districts_daily.json
๐Ÿ’š District Level : Zones https://api.covid19india.org/zones.json
๐Ÿ’š Essentials and resources https://api.covid19india.org/resources/resources.json
๐Ÿ”š Raw Data (Partition 1 + Partition 2. Frozen after Apr 26th) https://api.covid19india.org/raw_data.json
๐Ÿ”š Deaths and Recoveries (Frozen after Apr 26th) https://api.covid19india.org/deaths_recoveries.json
๐Ÿ”š Travel history (No more updated) https://api.covid19india.org/travel_history.json

CSV

Sometimes, having files in a spreadsheet format is more useful for analysts and scientists. We have provided the files as downloadable csv files in the following location.

Data URL
Google sheets in CSV https://api.covid19india.org/csv/

๐Ÿš€ Quick example : Apply the formula =IMPORTDATA("https://api.covid19india.org/csv/latest/state_wise.csv") in A1 cell of a Google Sheets to get the state data for analysis :)

Alternate API's by Contributors

API for current cases, statewise, districtwise and historical data of India COVID-19

Projects Using This API

Telegram Channels

Analysis

Other Trackers/Dashboards

Telegram Bots

Chrome/Firefox Extensions

Quick Links

How this works

  • Data in this repository is generated from Google Sheets (https://api.covid19india.org/csv)
  • Volunteers collect data from trusted sources and update the sheet
  • Using Github Actions this repo periodically fetches relevant data from the Sheet and update static json and csv files

Contributing

  • Contributions to new data formats are welcome. Please create a GH issue and discuss there before working on the same.
  • Please raise an issue before submitting a PR
  • Report issues regarding covid19india.org website in the react-site repository
  • DO NOT change anything in gh-pages branch directly.They get replaced automatically

Notes

  • Do not use the "Current Status" in raw_data.json as we are rarely able to map the status to the exact patient anymore. This will soon be deprecated in a future version of the API.

..................

covid19india-api's People

Contributors

adarshbalu avatar akanshgulati avatar anamritraj avatar anandv01 avatar chickenpie347 avatar dhwanilvyas avatar drankitbangar avatar dynamicbalaji avatar jeethesh-kotian avatar junaidbabu avatar kaushikbhat07 avatar manojnallusamy avatar manojvivek avatar nishcthulhu avatar princesumberia avatar rahgurung avatar sandeshchoudhary avatar siddharths2710 avatar skavinvarnan avatar sudev-chirappat avatar sudevschiz avatar sumitmckv avatar thecoducer avatar zaxwebs avatar

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.