Skip to content

LancelotLewis/ncp-spider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

virus-spider

This is the backend API for the visualization of the 2019-nCov in China. The frontend can be found here.

Current Progress

  • Province-level fata of confirmed/fead/cured cases (2020/1/29)
  • City-level data of confirmed cases
  • Nation-level daily data for line charts

Data Structures

Total Data

"确诊": {
    "2020年1月11日": [{"name": "湖北省", "value": 41}, {"name": "广东省", "value": 0}, ..., {"name": "全国", "value": 41}],
    ...,
    "累计": [{"name": "湖北省", "value": 4586}, {"name": "广东省", "value": 311,}, ... {"name": "全国", "value": 7209}]
},
"死亡": {
    same as above
},
"治愈": {
    same as above
}

Daily Data

"每日": {
    "日期": ["2020年1月11日", "2020年1月12日", ..., TBD],
    "确诊": [41, 0, ..., TBD],
    "死亡": [1, 0, ..., TBD],
    "治愈": [2, 4, ..., TBD]
}

City-Level Data

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages