china_city: city data for China

china_cityR Documentation

city data for China

Description

This dataset contains spatial (sf) data for city in China, with various attributes specific to each district.

Usage

china_city

Format

An object of class sf (inherits from data.frame) with 476 rows and 10 columns.

Source

http://datav.aliyun.com/tools/atlas/

name

The name of the district

adcode

The administrative code for the district, a unique identifier (e.g., "110101")

childrenNum

The number of lower-level administrative divisions within the district (usually 0 for districts)

level

The administrative level of the area, which is "district" for all entries in this dataset

subFeatureIndex

An index representing the sub-features within the district

centroid

The geographical centroid of the district, represented as a string of coordinates

center

The center point of the district, also represented as a string of coordinates

parent

A JSON string representing the parent administrative entity, usually the province-level data

acroutes

A JSON array of administrative codes that represent the full administrative hierarchy leading to the district

geometry

Spatial geometry of the district, stored as an sf object in MULTIPOLYGON format


leafletZH documentation built on April 3, 2025, 8:59 p.m.