Git Product home page Git Product logo

gb2260's Introduction

GB/T 2260-2007

中华人民共和国行政区划代码Codes for the administrative divisions of the People's Republic of China

Documentation Status Build Status DOI

The GB/T 2260 standard defines six-digit numerical codes for the administrative divisions of China, at the county level and above. For instance, the Haidian district of Beijing has the code 110108.

The most recent version of the official standard, designated "GB/T 2260-2007", was published in 2008. However, codes are routinely revised, and the National Bureau of Statistics (NBS) publishes an updated list online annually.

gb2260 produces and exposes an up-to-date list of the GB/T 2260 codes, with extra information including English names, Pinyin transcriptions, administrative levels, etc.

Requirements

License

Copyright 2014–2017 Paul Natsuo Kishimoto <[email protected]>

Distributed under the GNU GPLv3.

See the documentation (doc/license.rst, or online) for copyright information regarding the data sources.

gb2260's People

Contributors

khaeru avatar qiaolun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

obliviousgarden

gb2260's Issues

Update to latest set of codes

v0.1 used the 2012 codelist, released in 2013 (version=2013-08-31).

Replace with the codelist version=2015-09-30.

  • make any updates to the code necessary to correctly import it.
  • add imports of the 2012 and 2014 codelists to the test suite.

Custom exceptions

lookup() raises LookupError for multiple different conditions; this makes it hard(er) for code to understand what type of exception has been encountered during a lookup. Add subclasses.

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.