Skip to content

This package is deprecated! I will not update it any more.

Notifications You must be signed in to change notification settings

microly/data2019ncov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data2019ncov:武汉肺炎(2019-nCoV)数据的R语言接口

数据源

武汉肺炎(2019-nCoV)历史数据来源:https://gitlab.com/wybert/open-2019-ncov (数据存在部分缺失,具体事宜请联系数据提供者。)

地图数据来源:http://datav.aliyun.com/tools/atlas

我的工作:

1.从上述肺炎数据源获取省级病例数据属性表,链接在省级数据地图上,返回sf对象。

2.从上述肺炎数据源获取城市粒度的空间点位数据,汇总在地级市数据地图上,返回sf对象。

安装:

# install.packages("devtools")
devtools::install_github("microly/data2019ncov")

使用方法:

library(data2019ncov)

# get the 2019-nCov data at provincial level at the time: 20:00, January 29.
sf_provice(month = 1, day = 29, hour = 20)

# get the 2019-nCov data at the prefecture city level at the time: 20:00, January 29.
sf_prefecture_city(month = 1, day = 29, hour = 20)

About

This package is deprecated! I will not update it any more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages