GithubHelp home page GithubHelp logo

yescallop / areacodes Goto Github PK

View Code? Open in Web Editor NEW
91.0 5.0 37.0 4.77 MB

中华人民共和国县级以上历史行政区划代码及新旧代码对应关系数据集

License: Creative Commons Zero v1.0 Universal

Rust 47.78% HTML 1.58% Vue 26.29% TypeScript 3.01% Python 5.79% PLpgSQL 15.54%
china division historical-data diff

areacodes's Issues

收集代码变更的文本描述

假定你已经读过 diff 规范,下列规则说明如何收集代码变更的文本描述(以下简称变更描述)。

  1. 变更描述收集在差异表中,每条变更描述由一行或多行连续的注释行组成,其所描述的是紧接其后的一行或多行连续的变更行。为了兼容差异表中旧的注释,只有当差异表第一行的内容为 #![described] 时,该表中其余的注释行才能被解析为变更描述。
  2. 对于一条变更描述,将组成其的注释行行首的 # 与其后的空白字符去除后,以 \n 连接各行即得到其内容。变更描述的内容使用 Markdown 语法,可使用标题分级,一级标题隐含在其描述的变更中,二级标题由单个 # 起始,以此类推(与 Rust 的文档注释类似)。
  3. 变更描述应尽可能详细,对于引用文本必须说明其来源,尽可能使用超链接。为防止链接失效,可采用自动化脚本将对应的网页或文件存档。例子参见 2022-2023.diff

Useful APIs: Wayback Machine APIs, Save Page Now 2 API.

Corner cases like 410611

410611 was 焦作市郊区 in 1981 but then 鹤壁市郊区 in 1982, which isn't detected by our current algorithms.

The other cases are 430311, 430411 and 430511.

数据错误

谢谢作者,看到过一个数据平台也做过类似的工作,有一些条目错漏的举隅,注意到有些细节作者并未修改(因为民政部是存在错误的,比如“鼓楼区”和“古楼区”) 。感觉可以做一些修改补充。https://zhuanlan.zhihu.com/p/516869092

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.