R Interface for China National Data

R interface for china national data < http://data.stats.gov.cn/>, some convenient functions for accessing the national data are provided.


rstatscn是一个R包,它提供了一些访问中国国家数据的一些方便的接口。可以比较方便的获取想要的国家数据。 安装方法

install.packages('rstatscn')

它可以方便的获取各种国家统计数据。比如中国的每年人口数据,各省的GDP数据,各种教育数据等。

详见 http://www.bagualu.net/wordpress/rstatscn-the-r-interface-for-china-national-data

News

rstatscn 1.1.3

minor update

  • import the functions from httr and jsonlite

rstatscn 1.1.2

minor update

  • do not run the tests requiring the internet resources

rstatscn 1.1.1

bug fixes

  • for some pages, the row name is duplicated. need to set the row name prefix to fix the issue. to set the row name prefix , use the function statscnRowNamePrefix() , to unset it call statscnRowNamePrefix(NULL)

rstatscn 1.0.2

bug fixes

  • It requires the httr 1.1.0 to run. Increase the httr version in DESCRIPTION

rstatscn 1.0.1

bug fixes

  • the http status check. success -> Success, which should be changed recently

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rstatscn")

1.1.3 by Xuehui YANG, 2 years ago


http://www.bagualu.net/


Report a bug at http://www.bagualu.net/wordpress/rstatscn-the-r-interface-for-china-national-data


Browse source code at https://github.com/cran/rstatscn


Authors: Xuehui YANG


Documentation:   PDF Manual  


Apache License 2.0 license


Imports httr, jsonlite


See at CRAN