# mumuy/data_location

中国行政区划代码【省、市、区县、乡镇街道】中国省市区镇三级四级联动行政区划数据（GB/T 2260）

Repository: https://github.com/mumuy/data_location
Canonical: https://ross.abutalabs.com/products/data_location
Homepage: https://passer-by.com/data_location/
Language: JavaScript
License: MIT
License Family: permissive
Topics: china, area, administrative-divisions, json
Last push: 2026-05-21T11:37:18+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 83, release rhythm 35, longevity 100
- inputs: {"age_days": 3661, "days_push": 104, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3177, forks 525 (observed 2026-08-28T04:07:47.656658+00:00)

## What it is
An open dataset of Chinese administrative division codes (GB/T 2260) covering provinces, cities, districts/counties, and towns/townships, distributed as JSON files with latest, historical, and diff data. It is actively maintained and MIT-licensed, with companion widgets for cascading region selection and ID card parsing.

## Use cases
- populate province/city/district cascading dropdowns in a form
- look up Chinese administrative division codes by region
- parse Chinese ID card numbers to extract region info
- query historical changes to China's administrative divisions
- add a region picker to a Chinese e-commerce checkout
- fuzzy search Chinese province and city names

## When to choose
- you need authoritative, regularly updated Chinese administrative division data
- you want cascading region selection in a web form
- you need historical or diff data for division code changes

## When to avoid
- you need administrative divisions for countries other than China
- you need guaranteed up-to-the-minute township-level data, which lags due to data volume

## Facets
- artifact type: dataset
- maturity: active
- function: data-generation, json, sdk
- domain: data-science, developer-tools, web-development, e-government
- platform: browser
- tags: china, administrative-divisions, gb-t-2260, province-city-district, cascading-select, id-card, open-data, javascript, web-server, nodejs

## Member repositories
- mumuy/data_location (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:47.656658+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-30T07:25:08.562684+00:00, confidence not recorded.
  - readme: https://github.com/mumuy/data_location (fetched 2026-08-28T04:07:47.656658+00:00, sha 08c8f64a1031)
  - homepage: https://passer-by.com/data_location/ (fetched 2026-08-29T09:39:39.449089+00:00, sha 136db2a09cd7)
  - site_page: https://passer-by.com/about.html (fetched 2026-08-29T09:39:39.458332+00:00, sha 53b4769d67d3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
