Coder Social home page Coder Social logo

skhatri / covid-19-json-api-data Goto Github PK

View Code? Open in Web Editor NEW
2.0 6.0 1.0 117.7 MB

COVID-19 Dataset with Api Endpoints. Spark/Scala Transformation Tasks to convert to JSON Api payloads for mobile/web client.

License: Apache License 2.0

Shell 95.13% Scala 4.87%

covid-19-json-api-data's Introduction

Build

covid-19-json-api-data

COVID-19 Dataset with Api Endpoints. Spark/Scala Transformation Tasks to convert to JSON Api payloads for mobile/web client.

Quicklinks

World World World

AU AU AU

NSW NSW NSW

USA USA USA

Italy Italy Italy

Spain Spain Spain

Nepal Nepal Nepal

Taiwan Taiwan Taiwan

Singapore Singapore Singapore

India India India

Source

https://github.com/CSSEGISandData/COVID-19

https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv
https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv
https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv

Generate Dataset

#1. Download Latest csv files
bash ./download.sh

#2. Run DatasetExtractor or 
./gradlew extract 

Api

The files may be returned as text/plain. Using a prefix of https://raw.githack.com/ can be one way around it so all files are served with content-type of "application/json"

World Totals

Running Total of the cases by status

https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/totals.json

List of Countries/Provinces

This can be used as menu item for retrieving dataset by country

https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/country.json

Confirmed, Recovered, Death Counters

Data for the last day

Api to find the current standings https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/latest_counters.json Also includes Province (for Australia, Canada, China) https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/latest_counters_with_province.json

All available time series Dataset

https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/all_counters.json

View for a particular country/province

Use data returned by "List of Countries/Province" call as key (country_province_key) for this one https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-country/{country_province_key}

https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-country/Australia_New_South_Wales.json https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-country/Australia.json https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-country/US.json https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-country/Italy.json https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-country/Spain.json https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-country/United_Kingdom.json

View for a particular date

Format is https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-date/{date}.json

https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/by-date/2020-04-11.json

Population

Population Data sourced from https://data.worldbank.org/indicator/SP.POP.TOTL?most_recent_value_desc=false

Latest Population of each country https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/population/population.json

Population History by Country https://raw.githubusercontent.com/skhatri/covid-19-json-api-data/master/data/population/history.json

covid-19-json-api-data's People

Contributors

skhatri avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.