Title: | Cincinnati Neighborhood, Tract, County, and ZIP Code Geographies |
---|---|
Description: | Provide simple feature (sf) objects for Cincinnati neighborhood, tract, county, and ZIP code geographies. |
Authors: | Cole Brokamp [aut, cre], Erika Rasnick [aut] |
Maintainer: | Cole Brokamp <[email protected]> |
License: | GPL (>= 3) |
Version: | 1.1.0 |
Built: | 2024-11-17 05:27:31 UTC |
Source: | https://github.com/geomarker-io/cincy |
This function uses the internal data objects, hamilton_tract_to_cincy_neighborhood_2010
and
hamilton_tract_to_cincy_neighborhood_2020
, to add a neighborhood
from cincy::neigh_cchmc_2010
and cincy::neigh_cchmc_2020
for each
row of a data frame.
add_neighborhood(.x, vintage = c("2010", "2020"))
add_neighborhood(.x, vintage = c("2010", "2020"))
.x |
a data frame containing a census tract column named
|
vintage |
a string specifying to use the |
The vintage of tracts is automatically inferred based on the
name of the found tract column (census_tract_id_2010
or census_tract_id_2020
), but
can be specified using the vintage argument. If just the column census_tract_id
exists, then a default of 2010 will be used.
add_neighborhood(tract_tigris_2010)
add_neighborhood(tract_tigris_2010)
Census block groups for Hamilton County from 2000, 2010, and 2020.
blockgroup_tigris_2000 blockgroup_tigris_2010 blockgroup_tigris_2020
blockgroup_tigris_2000 blockgroup_tigris_2010 blockgroup_tigris_2020
An object of class sf
(inherits from data.frame
) with 736 rows and 2 columns.
An object of class sf
(inherits from data.frame
) with 697 rows and 2 columns.
An object of class sf
(inherits from data.frame
) with 678 rows and 2 columns.
Block groups were downloaded directly from the Census Bureau using the tigris package
2020 TIGER/Line Shapefiles Block Groups (2000 TIGER/Line)
County groupings are derived from CCHMC operational definitions
county_7cc_2010
county_7cc_2010
A simple features data frame with 7 rows and 6 columns:
County Name
County ID
State Name
State ID
GEOID (state_id + county_id)
simple features geometry column
see data-raw/data.R for county FIPS listed for each grouping
tmap::tm_shape(county_7cc_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
tmap::tm_shape(county_7cc_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
County groupings are derived from CCHMC operational definitions
county_8cc_2010
county_8cc_2010
A simple features data frame with 8 rows and 6 columns:
County Name
County ID
State Name
State ID
GEOID (state_id + county_id)
simple features geometry column
see data-raw/data.R for county FIPS listed for each grouping
tmap::tm_shape(county_8cc_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
tmap::tm_shape(county_8cc_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
County groupings are derived from CCHMC operational definitions
county_hlthv_2010
county_hlthv_2010
A simple features data frame with 15 rows and 6 columns:
County Name
County ID
State Name
State ID
GEOID (state_id + county_id)
simple features geometry column
see data-raw/data.R for county FIPS listed for each grouping
tmap::tm_shape(county_hlthv_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
tmap::tm_shape(county_hlthv_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
County groupings are derived from CCHMC operational definitions
county_hlthvoh_2010
county_hlthvoh_2010
A simple features data frame with 8 rows and 6 columns:
County Name
County ID
State Name
State ID
GEOID (state_id + county_id)
simple features geometry column
see data-raw/data.R for county FIPS listed for each grouping
tmap::tm_shape(county_hlthvoh_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
tmap::tm_shape(county_hlthvoh_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
County groupings are derived from CCHMC operational definitions
county_swoh_2010
county_swoh_2010
A simple features data frame with 4 rows and 6 columns:
County Name
County ID
State Name
State ID
GEOID (state_id + county_id)
simple features geometry column
see data-raw/data.R for county FIPS listed for each grouping
tmap::tm_shape(county_swoh_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
tmap::tm_shape(county_swoh_2010) + tmap::tm_polygons(col = "county_name", legend.show = FALSE) + tmap::tm_text(text = "county_name")
An example census tract-level dataset. A simple features object of all census tracts in Hamilton County, OH with values for the 2018 deprivation index and its six components.
dep_index
dep_index
An object of class sf
(inherits from data.frame
) with 222 rows and 9 columns.
The 2018 deprivation_index. See data-raw/make_dep_index_data.R
.
Congressional Districts (2011 TIGER/Line)
Congressional Districts (2013 TIGER/Line)
districts_tigris_2011 districts_tigris_2013
districts_tigris_2011 districts_tigris_2013
An object of class sf
(inherits from data.frame
) with 2 rows and 2 columns.
An object of class sf
(inherits from data.frame
) with 2 rows and 2 columns.
Weights at the census block-level are used to spatially interpolate different geographies.
Block-level total population, total number of homes, or total area from the 2020 Census
can be chosen to use for the weights.
All numeric variables in from
are interpolated non-extensively,
except for any numeric variables that start with n_
, which are interpolated
extensively.
interpolate(from, to, weights = c("pop", "homes", "area"))
interpolate(from, to, weights = c("pop", "homes", "area"))
from |
sf object with a neighborhood, census tract, census block group, census block,
or zcta column and numeric values to be interpolated into target geographies. The |
to |
sf object of target geography This function is designed to work with
cincy:: geography objects, and |
weights |
use one of "pop" (population), "homes", or "area" from the 2020 census block estimates to interpolate the values |
Possible geography id column names include "neighborhood", "zcta", "census_tract_id", "census_block_id", "census_block_group_id", and "district". Optionally, the column names can be appended with the census decade vintage "_2000", "_2010", or "_2000" ("district" vintages include "_2011" and "_2013").
# interpolate 2018 deprivation index to ZIP code level interpolate(dep_index, cincy::zcta_tigris_2010, "pop") # interpolate 2018 deprivation index to 2020 census tracts interpolate(dep_index, cincy::tract_tigris_2020, "pop")
# interpolate 2018 deprivation index to ZIP code level interpolate(dep_index, cincy::zcta_tigris_2010, "pop") # interpolate 2018 deprivation index to 2020 census tracts interpolate(dep_index, cincy::tract_tigris_2020, "pop")
Neighborhood: Cincinnati Community Council (CCC)
neigh_ccc
neigh_ccc
An object of class sf
(inherits from data.frame
) with 75 rows and 2 columns.
CAGIS Open Data Community Council (CCC) Neighborhoods
Neighborhood: CCHMC 2010
neigh_cchmc_2010
neigh_cchmc_2010
An object of class sf
(inherits from tbl_df
, tbl
, data.frame
) with 81 rows and 2 columns.
See data-raw/hamilton_tract_to_cincy_neighborhood_2010.csv
for tract to neighborhood lookup table
Neighborhood: CCHMC 2020
neigh_cchmc_2020
neigh_cchmc_2020
An object of class sf
(inherits from tbl_df
, tbl
, data.frame
) with 81 rows and 2 columns.
See data-raw/make_tract_neigh_crosswalk_data.R
for tract to neighborhood lookup table
Neighborhood: Statistical Neighborhood Approximations (SNA)
neigh_sna
neigh_sna
An object of class sf
(inherits from data.frame
) with 50 rows and 2 columns.
CAGIS Open Data Community Council (CCC) Neighborhoods
Census Tracts for Hamilton County from 2000, 2010, and 2020.
tract_tigris_2000 tract_tigris_2010 tract_tigris_2020
tract_tigris_2000 tract_tigris_2010 tract_tigris_2020
An object of class sf
(inherits from data.frame
) with 230 rows and 2 columns.
An object of class sf
(inherits from data.frame
) with 222 rows and 2 columns.
An object of class sf
(inherits from data.frame
) with 226 rows and 2 columns.
Tracts were downloaded directly from the Census Bureau using the tigris package
/data-raw/make_blockgroup_tract_zcta_data.R
2020 TIGER/Line Shapefiles Census Tracts (2000 TIGER/Line)
ZIP Code Tabulation Areas (ZCTAs) for Ohio that (at least partially) intersect with Hamilton County from 2000, 2010, and 2020.
zcta_tigris_2000 zcta_tigris_2010 zcta_tigris_2020
zcta_tigris_2000 zcta_tigris_2010 zcta_tigris_2020
An object of class sf
(inherits from data.frame
) with 53 rows and 2 columns.
An object of class sf
(inherits from data.frame
) with 54 rows and 2 columns.
An object of class sf
(inherits from data.frame
) with 55 rows and 2 columns.
ZCTAs were downloaded directly from the Census Bureau using the tigris package ZCTA (2000 TIGER/Line)