Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1_2_抓取民政部城市信息.js 按照里面的程序执行得出的数据只有省市 #21

Open
BambooFluteBoy opened this issue Jul 20, 2021 · 2 comments

Comments

@BambooFluteBoy
Copy link

var Step1_2_Merge_MCA={
"statsGovYear": 2020,
"notFinds": [
{
"code": "110000000000",
"name": "北京市"
},
{
"code": "120000000000",
"name": "天津市"
},
{
"code": "130000000000",
"name": "河北省"
},
{
"code": "140000000000",
"name": "山西省"
},
{
"code": "150000000000",
"name": "内蒙古自治区"
},
{
"code": "210000000000",
"name": "辽宁省"
},
{
"code": "220000000000",
"name": "吉林省"
},
{
"code": "230000000000",
"name": "黑龙江省"
},
{
"code": "310000000000",
"name": "上海市"
},
{
"code": "320000000000",
"name": "江苏省"
},
{
"code": "330000000000",
"name": "浙江省"
},
{
"code": "340000000000",
"name": "安徽省"
},
{
"code": "350000000000",
"name": "福建省"
},
{
"code": "360000000000",
"name": "江西省"
},
{
"code": "370000000000",
"name": "山东省"
},
{
"code": "410000000000",
"name": "河南省"
},
{
"code": "420000000000",
"name": "湖北省"
},
{
"code": "430000000000",
"name": "湖南省"
},
{
"code": "440000000000",
"name": "广东省"
},
{
"code": "450000000000",
"name": "广西壮族自治区"
},
{
"code": "460000000000",
"name": "海南省"
},
{
"code": "500000000000",
"name": "重庆市"
},
{
"code": "510000000000",
"name": "四川省"
},
{
"code": "520000000000",
"name": "贵州省"
},
{
"code": "530000000000",
"name": "云南省"
},
{
"code": "540000000000",
"name": "西藏自治区"
},
{
"code": "610000000000",
"name": "陕西省"
},
{
"code": "620000000000",
"name": "甘肃省"
},
{
"code": "630000000000",
"name": "青海省"
},
{
"code": "640000000000",
"name": "宁夏回族自治区"
},
{
"code": "650000000000",
"name": "新疆维吾尔自治区"
}
],
"notFindsIgnore": [],
"cityList": [
{
"name": "北京市",
"code": "110000000000",
"child": []
},
{
"name": "天津市",
"code": "120000000000",
"child": []
},
{
"name": "河北省",
"code": "130000000000",
"child": []
},
{
"name": "山西省",
"code": "140000000000",
"child": []
},
{
"name": "内蒙古自治区",
"code": "150000000000",
"child": []
},
{
"name": "辽宁省",
"code": "210000000000",
"child": []
},
{
"name": "吉林省",
"code": "220000000000",
"child": []
},
{
"name": "黑龙江省",
"code": "230000000000",
"child": []
},
{
"name": "上海市",
"code": "310000000000",
"child": []
},
{
"name": "江苏省",
"code": "320000000000",
"child": []
},
{
"name": "浙江省",
"code": "330000000000",
"child": []
},
{
"name": "安徽省",
"code": "340000000000",
"child": []
},
{
"name": "福建省",
"code": "350000000000",
"child": []
},
{
"name": "江西省",
"code": "360000000000",
"child": []
},
{
"name": "山东省",
"code": "370000000000",
"child": []
},
{
"name": "河南省",
"code": "410000000000",
"child": []
},
{
"name": "湖北省",
"code": "420000000000",
"child": []
},
{
"name": "湖南省",
"code": "430000000000",
"child": []
},
{
"name": "广东省",
"code": "440000000000",
"child": []
},
{
"name": "广西壮族自治区",
"code": "450000000000",
"child": []
},
{
"name": "海南省",
"code": "460000000000",
"child": []
},
{
"name": "重庆市",
"code": "500000000000",
"child": []
},
{
"name": "四川省",
"code": "510000000000",
"child": []
},
{
"name": "贵州省",
"code": "520000000000",
"child": []
},
{
"name": "云南省",
"code": "530000000000",
"child": []
},
{
"name": "西藏自治区",
"code": "540000000000",
"child": []
},
{
"name": "陕西省",
"code": "610000000000",
"child": []
},
{
"name": "甘肃省",
"code": "620000000000",
"child": []
},
{
"name": "青海省",
"code": "630000000000",
"child": []
},
{
"name": "宁夏回族自治区",
"code": "640000000000",
"child": []
},
{
"name": "新疆维吾尔自治区",
"code": "650000000000",
"child": []
}
]
}

@BambooFluteBoy
Copy link
Author

这样的结果是正确的么

@xiangyuecn
Copy link
Owner

结果不正确,都是未匹配的;要先执行 1_1 那个文件,得到 Step1_1_StatsGov 。 1_5_合并 这个文件每次过了一段时间后都需要修改源码才能跑起来,处理合并新调整的区划

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants