Comments (10)
查询资料的过程中,发现作为推荐标准的 GB/T 2260,至少存在 GB/T 2260-2002 和 GB/T 2260-2007 两个版本,而且 GB/T 2260-2007 是直接代替 GB/T 2260-2002 的。
可否提供一下“查询资料的过程中”具体资料来源呢?数据是我和 @lepture 收集的,目前苦于没有找到比国家统计局网站更权威的来源。维基百科词条指向的同样是统计局的网址。
from gb2260.
从 国家标准化管理委员会的国标查询页面 查「GB/T 2260」可以看到现行的版本是 2007;2007 代替 2002;2002 代替 1999……
从 GB/T 2260-2007 的前言来看,标准文档的历史版本应该且只有这些版本:
- 1980
- 1982
- 1984
- 1986
- 1988
- 1991
- 1995
- 1999
- 2002
- 2007
「中华人民共和国行政区划代码」 和「GB/T 2260」应该是两回事。前者由统计局每隔一段时间整理发布;后者有标准文档对应,有严格的标准号和代替关系,看上去应该是基于前者的(标准文档除了行政区划数字代码,还有一套字母代码)。
根据政策免费公开的目前应该只有 GB 强制标准,GB/T 还没有。但是网上搜一下可以找到影印版 PDF。
介于这个 Repo 的名字叫 GB2260,可能标准文档更权威一些,而不是尚未标准化的国家统计局的数据……
from gb2260.
嗯…… 这么看来似乎的确应该在命名空间上区分下两个数据源…… 比如统计局版数据放到 gb2260.contrib
里……
from gb2260.
我觉得不必要,只需要将 revision 区别开来就可以了。
from gb2260.
我以为当GB/T发布的时候,有些时候,有些地方仍旧是县,但是当某个地方撤县改市的时候,不可能让GB/T标准再发布一次,因此国家统计局的数据更具有现实的意义。
from gb2260.
这个是2003年发布的
http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/200302/t20030219_38299.html
这个是2008年发布的
http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/200802/t20080215_38311.html
这个是2015年发布的
http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/201504/t20150415_712722.html
查询南京下面的 高淳,就会发现 县 改 区,编码仍旧是 320125 ,但是GB/T是不可能因为这么小的事情而变更的。
from gb2260.
这个 issue 并不是说国家统计局的数据不准确,而是国家统计局的数据用在这里名不副实。
国家统计局的数据无疑是当下最精确的,但国家统计局的数据 ≠ GB/T 2260 的数据也是无疑的。而库的名字叫 GB 2260,实际上用的却不是 GB/T 2260 的数据,有挂羊头卖狗肉之嫌。
from gb2260.
这个问题实际上和 w3c 标准与浏览器实现是一样的道理,GB2260 标准是在国家统计局的数据上确定的,它不可能因为一点点数据更新就重新发布一次标准。
国家统计局的数据在实际使用时更有意义,我们把其它 revisions 当作是方言,把国家标准化管理委员会的数据当作是普通话。
我在上面说过了:
我觉得不必要,只需要将 revision 区别开来就可以了
from gb2260.
了解了。我觉得至少只要能够在库中对标准与非标准数据有所区分即可 :)
from gb2260.
@timothyqiu 做了一些调整:
这样既实用,又兼顾标准。
from gb2260.
Related Issues (20)
- pinyin data HOT 3
- 加入 Ruby 实现 HOT 8
- Spec 的数据结构中 year 允许为空不合理 HOT 20
- Spec 对历史查询不友好 HOT 7
- 我写了`Elixir`的实现, 如何贡献出来? HOT 3
- GB2260 与邮编对应 HOT 2
- IRC / librelist / Gitter HOT 7
- spec on not found HOT 6
- Spec v0.3 HOT 2
- Maintainer List HOT 3
- 民政部版本已更新到 2015 年 11 月 HOT 2
- Spec v1
- 2016年8月的数据都有了 HOT 3
- .net 的版本没有列出 HOT 1
- my github issue 20180320
- Rust 实现 HOT 2
- the latest source.tsv HOT 1
- MCA 源中部分地级行政区缺失 HOT 4
- 行政区划 变更
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gb2260.