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

行政区划在2018.02.24进行过调整,比如定州市,希望进行数据更新下 #2

Open
15931436344 opened this issue Apr 27, 2018 · 8 comments

Comments

@15931436344
Copy link

紧急,求助

@dwqs
Copy link
Owner

dwqs commented Apr 27, 2018

我这最新的数据是 4.17 号生成的,你说的区划调整有相关的资料链接吗 @15931436344

@dwqs dwqs closed this as completed Apr 27, 2018
@15931436344
Copy link
Author

http://www.mca.gov.cn/article/sj/xzqh/2018/201803/201803191002.html 比如
130682 | 定州市
目前您的数据里面还是"139001":"定州市","139002":"辛集市"

@dwqs
Copy link
Owner

dwqs commented May 2, 2018

@15931436344
Copy link
Author

15931436344 commented May 2, 2018

但是高德地图等公司均已经调整了区划代码,更新为最新的了
就是以这个为准的:
http://www.mca.gov.cn/article/sj/xzqh/2018/

@15931436344
Copy link
Author

image

@dwqs
Copy link
Owner

dwqs commented May 2, 2018

@15931436344 stats 的数据每年发布一次,而 mca 每个月都会发布变更情况 ,但 mca 的数据有点零碎且缺少部分县区数据(例如新疆,http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2016/65/6590.html mca 只有市一级数据,没有市下一级的数据)。目前数据以 stats 为准,暂时不与 mca 实时同步。如果你想到比较好的解决方案,非常欢迎告知! 😄

@lichenbuliren
Copy link

只要将里面的请求数据页面改成 18 年的就好了

const target = 'http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2018/#{route}.html'

@FunctionDream
Copy link

我已经修改成2018年了。但是,程序启动的时候。控制台也没有报错。但是,就是程序运行完成后的文件,都是空白的。求大神指点。 QQ:276206061.麻烦大佬了。

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

4 participants