Giter VIP home page Giter VIP logo

covid-2019-data's Introduction

COVID-19/2019-nCoV Infection Data

Project Intro

This is the data repository for the Hyperion Covid-19 Map Visual Dashboard operated by Hyperion MapChain. The map will demonstrate two source types of Covid-19 data. The choropleth map displays divided geographical areas or regions in various colors according to the official confirmed virus cases, while the POIs are contributed by global community.

Online web 👉 https://covid.hyn.space/

Priview

Data Sources

API

  • API 1: Get virus information in all countries

Request parameter description:

lang supports zh, en

$ curl -G https://covid.hyn.space/api/data/country/latest?lang=${lang}

Return results:

...
{
        "id": 965008,
        "area": "意大利",
        "key": "意大利",
        "newConfirmed": 2179,
        "newRecovered": 41,
        "newDead": 196,
        "totalConfirmed": 12462,
        "totalRecovered": 1045,
        "totalDead": 827,
        "hasSub": true
}
...

Description:

key can be used to API 2 and API 4

hasSub can be used to determine if there is a lower-level virus information

  • API 2: Get daily virus information, return results include daily added and cumulative total

Request parameter description:

lang supports zh, en

area can be set to the key value of API 1, e.g: area = 意大利

$ curl -G https://covid.hyn.space/api/data/country/daily/${area}?lang=${lang}
  • API 3:Get virus information in Nearby Areas

Request parameter description:

lat means longitude of selected area, e.g: lat= 23.1202

lon means latitude of the selected area, e.g: lon=113.3248

radius means radius of the selected area, e.g:radius=1000

$ curl -G -d 'lat=${lat}' -d 'lon=${lon}' -d 'radius=${radius}' https://covid.hyn.space/api/covid-collector/event/radius
  • API 4:Get an virus information in an urban area of a country

Request parameter description:

lang supports zh, en

country can be set to the key value of API 1, e.g: country = 意大利

$ curl -G -d 'lang=${lang}' -d 'country=${country}'  https://covid.hyn.space/api/data/province/latest

Terms of Use

This GitHub repo and its contents herein, including all data, mapping, and analysis, copyright Hyperion, all rights reserved, is provided to the public strictly for non-commercial purposes. The Website relies upon publicly available data from multiple sources, that do not always agree. Hyperion hereby disclaims any and all representations and warranties with respect to the Website, including accuracy, fitness for use, and merchantability. Any form of privacy breaches is not allowed.

covid-2019-data's People

Contributors

hyperion-zgx avatar javionhe avatar moyaying avatar naomizoldic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

caijingsong

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.