Collects officially published daily stats for the corona-virus (China only) 收集新冠状病毒中国每日疫情数据,精确到地级
This simple python script collects daily data from the coronavirus status updates published by Tecent.
Data source: https://news.qq.com/zt2020/page/feiyan.htm
Note: It focuses on China only.
The script grabs the data and save them into three seperate csv files in the path where the script is stored.
The data collected contain information at country , province and prefecture levels. For country level data, it collects all data from 1/13/2020 to the time being. For province and prefecture level data, it collects data for the day ONLY since there is no historical data available from the data source.
Fields of the country level output are as follows:
Fields of the province level output are as follows:
Fields of the prefecture level output are as follows:
To run the script, please make sure you are using python 3.x, and have libraries of pandas and requests installed.
A set of sample results is also provided.
⚠️ Disclaimer / Warning! This repository/project is intended for Educational/Research Purposes ONLY. Please do not use it for any other non-educational or non-research reason and definitely don't depend on it for anything important!