The cincy
package contains simple feature geographic polygon files (sf
objects) that define Cincinnati Neighborhood, Tract, County, and ZIP Code Geographies.
Installing
# install.packages("remotes")
remotes::install_github("geomarker-io/cincy")
Data
Data objects are data.frame
s of class sf
and are named by geography, source, and optionally vintage:
name | geography | source | vintage |
---|---|---|---|
zcta_tigris_2020 |
zcta | tigris | 2020 |
zcta_tigris_2010 |
zcta | tigris | 2010 |
zcta_tigris_2000 |
zcta | tigris | 2000 |
tract_tigris_2020 |
tract | tigris | 2020 |
tract_tigris_2010 |
tract | tigris | 2010 |
tract_tigris_2000 |
tract | tigris | 2000 |
neigh_sna |
neigh | sna | |
neigh_cchmc_2020 |
neigh | cchmc | 2020 |
neigh_cchmc_2010 |
neigh | cchmc | 2010 |
neigh_ccc |
neigh | ccc | |
districts_tigris_2013 |
districts | tigris | 2013 |
districts_tigris_2011 |
districts | tigris | 2011 |
county_swoh_2010 |
county | swoh | 2010 |
county_hlthvoh_2010 |
county | hlthvoh | 2010 |
county_hlthv_2010 |
county | hlthv | 2010 |
county_8cc_2010 |
county | 8cc | 2010 |
county_7cc_2010 |
county | 7cc | 2010 |
blockgroup_tigris_2020 |
blockgroup | tigris | 2020 |
blockgroup_tigris_2010 |
blockgroup | tigris | 2010 |
blockgroup_tigris_2000 |
blockgroup | tigris | 2000 |
Use autocomplete functionality at the R
prompt (e.g., typing cincy::
and pressing TAB
twice) to find the needed sf
object, narrowing first based on geography (tract
, zcta
, neigh
, county
), then by source, and then optionally by vintage.
Consult the help file for any object for more information on the data within it:
?cincy::neigh_ccc
Or explore the data documentation online at https://geomarker.io/cincy/reference
Examples
Data are returned as simple features objects. For example, to get Cincinnati neighborhoods, as defined by the most recent version of community council boundaries from CAGIS:
cincy::neigh_ccc
## Simple feature collection with 75 features and 1 field
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: 964487.9 ymin: 1841115 xmax: 994473.1 ymax: 1859227
## Projected CRS: NAD83(NSRS2007) / Conus Albers
## First 10 features:
## neighborhood SHAPE
## 1 Paddock Hills MULTIPOLYGON (((983858.4 18...
## 2 Corryville - Heights MULTIPOLYGON (((981244.6 18...
## 3 South Cumminsville MULTIPOLYGON (((978487.3 18...
## 4 Avondale - North Avondale MULTIPOLYGON (((982120.1 18...
## 5 Corryville MULTIPOLYGON (((981595.8 18...
## 6 Spring Grove Village MULTIPOLYGON (((978574.3 18...
## 7 CUF - Mount Auburn MULTIPOLYGON (((981416 1848...
## 8 Columbia Tusculum - East End MULTIPOLYGON (((987788.4 18...
## 9 Mount Lookout MULTIPOLYGON (((988778.2 18...
## 10 Riverside - Sayler Park MULTIPOLYGON (((967897.9 18...
Or to get Cincinnati ZIP Codes, as defined by the Census Bureau as ZIP Code Tabulation Areas (ZCTAs), from 2000:
cincy::zcta_tigris_2000
## Simple feature collection with 53 features and 1 field
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: 953086.5 ymin: 1838982 xmax: 1003658 ymax: 1871411
## Projected CRS: NAD83(NSRS2007) / Conus Albers
## First 10 features:
## zcta_2000 geometry
## 1 45216 MULTIPOLYGON (((983383.8 18...
## 2 45174 MULTIPOLYGON (((998460.5 18...
## 3 45229 MULTIPOLYGON (((982399.8 18...
## 4 45217 MULTIPOLYGON (((982959 1853...
## 5 45252 MULTIPOLYGON (((968113.2 18...
## 6 45239 MULTIPOLYGON (((975836.6 18...
## 7 45243 MULTIPOLYGON (((998121.2 18...
## 8 45236 MULTIPOLYGON (((990544 1856...
## 9 45220 MULTIPOLYGON (((979634.1 18...
## 10 45204 MULTIPOLYGON (((976776.7 18...
Alternatively, get the 2010 Counties in Cincinnati’s 7-county catchment area:
cincy::county_7cc_2010
## Simple feature collection with 7 features and 5 fields
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: 949713.7 ymin: 1808108 xmax: 1025618 ymax: 1903358
## Projected CRS: NAD83(NSRS2007) / Conus Albers
## county_name county_id state_name state_id geoid
## 1 Butler 017 OH 39 39017
## 2 Hamilton 061 OH 39 39061
## 3 Clermont 025 OH 39 39025
## 4 Warren 165 OH 39 39165
## 5 Kenton 117 KY 21 21117
## 6 Boone 015 KY 21 21015
## 7 Campbell 037 KY 21 21037
## geometry
## 1 MULTIPOLYGON (((968901.4 18...
## 2 MULTIPOLYGON (((954168.6 18...
## 3 MULTIPOLYGON (((1002941 186...
## 4 MULTIPOLYGON (((991479.4 18...
## 5 MULTIPOLYGON (((974627.4 18...
## 6 MULTIPOLYGON (((953225.9 18...
## 7 MULTIPOLYGON (((990745 1832...