Comments (4)
haha
from administrative-divisions-of-china.
可以把数据压缩成这种格式:
{
"11": [
"北京市",
{
"1101": [
"市辖区",
{
"110101": "东城区",
"110102": "西城区",
"110105": "朝阳区",
"110106": "丰台区",
"110107": "石景山区",
"110108": "海淀区",
"110109": "门头沟区",
"110111": "房山区",
"110112": "通州区",
"110113": "顺义区",
"110114": "昌平区",
"110115": "大兴区",
"110116": "怀柔区",
"110117": "平谷区",
"110118": "密云区",
"110119": "延庆区"
}
]
}
],
"12": [
"天津市",
{
"1201": [
"市辖区",
{
"120101": "和平区",
"120102": "河东区",
"120103": "河西区",
"120104": "南开区",
"120105": "河北区",
"120106": "红桥区",
"120110": "东丽区",
"120111": "西青区",
"120112": "津南区",
"120113": "北辰区",
"120114": "武清区",
"120115": "宝坻区",
"120116": "滨海新区",
"120117": "宁河区",
"120118": "静海区",
"120119": "蓟州区"
}
]
}
]
}
pca-code.json 压缩后,大小为 74k,原来为 129k。
from administrative-divisions-of-china.
@fundon 还是得保留 childs,不然对这数据在进行使用或二次处理将变得非常麻烦
from administrative-divisions-of-china.
@fundon 蔡神 👍 PRs are always welcome~~
from administrative-divisions-of-china.
Related Issues (20)
- 为什么没有香港特别行政区的数据 HOT 1
- 【意见交流】希望数据源能增加民政局数据,和有拼音 HOT 2
- 【求助】我想从数据筛选全国城市,如何剔除“省直辖县级行政区划”、“市辖区”、“县”等字样 HOT 2
- 【意见交流】对于数据中的错误,是否有必要修复? HOT 2
- 这个省里面少了个**省 HOT 1
- 统计局换网址了 HOT 1
- 计划增加经纬度吗? HOT 1
- 横琴粤澳深度合作区
- 统计局数据已更新至202306 HOT 1
- 没有地区的gps坐标 HOT 1
- Sqlite数据问题
- **维吾尔自治区直辖县级市缺失 HOT 2
- 请问有村级(村委会、居委会)级别的数据吗? HOT 1
- 省市区街道,mysql数据 HOT 1
- 街道信息,可能有部分数据缺失 HOT 2
- 能不能辛苦把城乡分类代码也加上 HOT 1
- 缺少雄安新区和下辖的县
- 区域不全,缺少广州市辖区code
- 东莞数据缺失
- 有没有计划增加地理数据 ?
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 administrative-divisions-of-china.