Chicago Community Area boundaries (cauq-8yn6)
Source: R/datasets.R
morie_datasets_chicago_community_areas.RdWraps the City of Chicago "Boundaries - Community Areas (current)"
open dataset (Socrata resource id cauq-8yn6; portal landing
https://data.cityofchicago.org/Facilities-Geographic-Boundaries/Boundaries-Community-Areas-current-/cauq-8yn6).
The 77 canonical Chicago community areas
(Rogers Park, West Ridge, Uptown, Lincoln Square, ..., Edgewater).
Resolves the community_area foreign key carried by every
morie_datasets_chicago_crime() row.
Usage
morie_datasets_chicago_community_areas(
offline = TRUE,
geometry = FALSE,
max_features = NULL,
resource_id = NULL,
paginate = FALSE,
page_size = 1000L,
max_pages = 200L,
app_token = NULL
)Arguments
- offline
If
TRUE(default), read the bundled fixture.- geometry
If
TRUEandoffline = FALSE, include thethe_geomMultiPolygon.- max_features
Optional row cap.
- resource_id
Optional view id override (default
"sp34-6z76").- paginate
Logical; 3OO/3QQ opt-in pagination via
LIMIT n OFFSET m.- page_size
Per-page row count when paginating.
- max_pages
Safety net.
- app_token
Optional Socrata app token (sent as
X-App-Token).
Details
SODA3-only (same filtered/derived-view caveat as Wards).
Offline mode reads a bundled 77-row attribute-only fixture
(inst/extdata/chicago_community_areas.csv: 5 cols –
area_numbe, community, area_num_1, shape_area,
shape_len). The community column carries the official
canonical name in ALL CAPS.