# xiangyuecn/AreaCity-JsSpider-StatsGov

省市区县乡镇三级或四级城市数据，带拼音标注、坐标、行政区域边界范围；2026年04月03日最新采集，提供csv格式文件，支持在线转成多级联动js代码、通用json格式，提供软件转成shp、geojson、sql、导入数据库；带浏览器里面运行的js采集源码，综合了中华人民共和国民政部、中国•国家地名信息库、统计局、高德地图、腾讯地图行政区划数据

Repository: https://github.com/xiangyuecn/AreaCity-JsSpider-StatsGov
Canonical: https://ross.abutalabs.com/products/areacity-jsspider-statsgov
Homepage: https://xiangyuecn.github.io/AreaCity-JsSpider-StatsGov/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-04-03T03:26:17+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 75, release rhythm 45, longevity 100
- inputs: {"age_days": 2835, "days_push": 152, "days_rel": 152, "gap_med": 443, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6842, forks 1015 (observed 2026-08-28T04:09:50.802808+00:00)

## What it is
A dataset and tooling project providing China's province/city/district/town (3-4 level) administrative division data with pinyin, coordinates, and boundary polygons, updated regularly from official sources. Includes a browser-based JS scraper and conversion tools to export CSV data to JSON, multi-level cascading JS, SQL, shp, and geojson.

## Use cases
- china province city district data for cascading dropdowns
- import chinese administrative divisions into mysql
- get city boundary polygons as geojson or shapefile
- geofence lookup by coordinates for chinese cities
- scrape latest china administrative division data
- echarts china map drill-down data
- convert administrative division csv to sql

## When to choose
- you need up-to-date Chinese province/city/district/town hierarchy data with pinyin and coordinates
- you need boundary polygons for Chinese administrative regions in GIS formats
- you want cascading multi-level region selectors for a Chinese web form

## When to avoid
- you need administrative data for countries other than China
- you need town-level (level 4) boundary data for free - that tier is paid/closed-source
- you need real-time boundary updates - data is refreshed on release cycles

## Facets
- artifact type: dataset
- maturity: active
- function: data-generation, web-scraping, geospatial, csv, json
- domain: data-science
- platform: cli, cross-platform
- tags: china-administrative-divisions, pinyin, city-boundaries, geojson, shapefile, echarts, cascading-select, gaode-map, tencent-map, maps, china, administrative-divisions, gis, web

## Member repositories
- xiangyuecn/AreaCity-JsSpider-StatsGov (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:50.802808+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:51.562444+00:00, confidence not recorded.
  - readme: https://github.com/xiangyuecn/AreaCity-JsSpider-StatsGov (fetched 2026-08-28T04:09:50.802808+00:00, sha 064bd65e1dbd)
  - homepage: https://xiangyuecn.github.io/AreaCity-JsSpider-StatsGov/ (fetched 2026-08-29T08:38:07.407881+00:00, sha 03a7c6c72f39)
- Data as of 2026-08-30T08:39:29.467469+00:00.
