regioncode v0.1.0

0

Monthly downloads

0th

Percentile

Convert Region Names and Division Codes of China Over Years

A fast tool to conquer the difficulties to convert various region names and administration division codes of Chinese regions. The current version enables seamlessly converting Chinese regions' formal names, common-used names, and codes between each other at the city level from 1986 to 2019.

Readme

CRAN version


regioncode

Inspired by Vincent Arel-Bundock's well-known countrycode, regioncode is an indigenous version for China studies.

The Chinese government gives unique geocodes for each county, city (prefecture), and provincial-level administrative unit. The so-called "administrative division codes" were consistently adjusted to matched national and regional plans of development. Geocode adjustments disturb researchers when they merge data with different versions of geocodes or region names. Especially, when researchers render statistical data on Chinese map, different geocodes between map data and statistical data may cause mess-up data output or visualization.

The package is developed to conquer such difficulties to match regional data across years more conveniently and correctly. In the current version, regioncode enables seamlessly converting formal names, common-used names, and division codes of Chinese prefecture regions(named '地级市' in Chinese) between each other and across thirty-four years from 1986 to 2019.

To install:

  • the latest released version: install.packages("regioncode").
  • the latest developing version: remotes::install_github("sammo3182/regioncode").

More details are available at:

http://cran.r-project.org/web/packages/regioncode/vignettes/regioncode-vignette.html

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Functions in regioncode

Name Description
regioncode regioncode
No Results!

Vignettes of regioncode

Name
corruption_data.rda
regioncode-vignette.Rmd
No Results!

Last month downloads

Details

License MIT + file LICENSE
Encoding UTF-8
BugReports https://github.com/sammo3182/regioncode/issues
LazyData true
RoxygenNote 7.1.1
Config/testthat/edition 3
VignetteBuilder knitr
NeedsCompilation no
Packaged 2021-02-23 06:36:21 UTC; sunyufei
Repository CRAN
Date/Publication 2021-02-23 09:50:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/regioncode)](http://www.rdocumentation.org/packages/regioncode)