Code Monkey home page Code Monkey logo

regioncode's Introduction

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.

regioncode's People

Contributors

gohuntsuan avatar syfyufei avatar sammo3182 avatar already-love avatar 17-panyx avatar calvin-sen avatar xiaoyequ04 avatar kimi-debug-maker avatar yangtzesyy avatar chenyuanqian18 avatar sing-alou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.