Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankerL committed Oct 8, 2020
1 parent 60a9a45 commit a279b24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
22 changes: 3 additions & 19 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,16 @@ to publish the latest data in CSV format,
which can be easily processed and loaded by most software.

The data is obtained by [COVID-19 Infection Data Realtime Crawler](https://github.com/BlankerL/DXY-COVID-19-Crawler).
The data will be published hourly.

At 0:00 every day, the program will execute on time and the data will be pushed into
[Release](https://github.com/BlankerL/DXY-COVID-19-Data/releases/latest).

**Due to the limitation of the server's bandwidth, starting from March 19, 2020,
`/nCoV/api/overall` and `/nCoV/api/area` do not response time-series data.
You can fetch time-series data in [json](json) folder.
If you call the API with `latest=0`, please modify the request parameters,
otherwise, you do not need to do any modification.**

#### CSV File List
1. Overall Data [DXYOverall.csv](csv/DXYOverall.csv)
2. Regional Data [DXYArea.csv](csv/DXYArea.csv)(Including city names in English)
3. News [DXYNews.csv](csv/DXYNews.csv)
4. Rumors [DXYRumors.csv](csv/DXYRumors.csv)


Since [`4db432f`](https://github.com/BlankerL/DXY-COVID-19-Data/commit/4db432fda233a701a3a7569e08ab20db083987b1),
DXYArea.csv contains province- and city-level data in China, and data of Hong Kong,
Macao and Taiwan regions and overseas are also available in this file.

In addition, you can also refer to [this issue](https://github.com/BlankerL/DXY-COVID-19-Crawler/issues/67) to customize your own data set.

#### JSON File List
Due to the instability of API,
this project will also push latest static JSONs into the `json` folder.
Data from JSON files are exactly the same as the data responded from the API.

Data customization is not accepted.
If you have more requirements for data, please handle it on your own.

Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,11 @@

近期数位高校师生与我联系,希望用这些数据做科研之用。然而并不熟悉API的使用和JSON数据的处理,因此做了这个数据仓库,直接推送大部分统计软件可以直接打开的csv文件,希望能够减轻各位的负担。

数据由[2019新型冠状病毒疫情实时爬虫](https://github.com/BlankerL/DXY-COVID-19-Crawler)获得,每小时检测一次更新,若有更新则推送至数据仓库中
数据由[2019新型冠状病毒疫情实时爬虫](https://github.com/BlankerL/DXY-COVID-19-Crawler)获得。

**受限于服务器带宽压力,自2020年3月19日起,API接口`/nCoV/api/overall``/nCoV/api/area`不再返回时间序列数据,时间序列数据可以在[json](json)文件夹下获取。如果您调用接口时使用了`latest=0`参数,则需要修改请求,否则无需修改。**

#### CSV文件列表
1. 全国数据[DXYOverall.csv](csv/DXYOverall.csv)
2. 地区数据[DXYArea.csv](csv/DXYArea.csv)(包含英文城市名)
3. 新闻数据[DXYNews.csv](csv/DXYNews.csv)
4. 谣言数据[DXYRumors.csv](csv/DXYRumors.csv)
每天0点,程序将准时执行,数据会被推送至[Release](https://github.com/BlankerL/DXY-COVID-19-Data/releases/latest)中。

[`4db432f`](https://github.com/BlankerL/DXY-COVID-19-Data/commit/4db432fda233a701a3a7569e08ab20db083987b1)开始,DXYArea.csv包含中国境内省市级、港澳台地区及海外数据。另外,也可以参考[这个问题](https://github.com/BlankerL/DXY-COVID-19-Crawler/issues/67),来定制自己的数据集。

#### JSON文件列表
由于API接口时常不稳定,因此此项目也会定时向`json`文件夹中推送静态的JSON文件更新。JSON文件与API中提供的JSON完全一致。
**受限于服务器带宽压力,自2020年3月19日起,API接口`/nCoV/api/overall``/nCoV/api/area`不再返回时间序列数据,时间序列数据可以在[json](json)文件夹下获取。如果您调用接口时使用了`latest=0`参数,则需要修改请求,否则无需修改。**

由于本人精力有限,不接受数据定制。如对数据有更多的要求,烦请自行处理。

Expand Down

0 comments on commit a279b24

Please sign in to comment.