# cncity **Repository Path**: code-fox/cncity ## Basic Information - **Project Name**: cncity - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-30 - **Last Updated**: 2025-11-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cncity A Stata command for Chinese city name standardization. ## Install ```stata * Latest version cap ado uninstall cncity net install cncity, from("https://raw.githubusercontent.com/codefoxs/cncity/main/") replace * Old versions cap ado uninstall cncity net install cncity, from("https://raw.githubusercontent.com/codefoxs/cncity/v#.#.#/") replace ``` ## Quick use ```stata cncity city ``` ## Variables `city_stname`: 标准城市名称,必须以“市”结尾 `city_type`: 城市类型,如地级市、县级市、直辖市等 `city_prov`: 城市所属省份,如果是直辖市则为本身 `city_special`: 一些特殊需求的匹配,如地区、自治州、盟 ## Example ![](./README/image-20251123024815238.png)