Simple feature collection with 2166 features and 12 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: 913180.2 ymin: 120131.4 xmax: 1067382 ymax: 272798.5
Projected CRS: NAD83 / New York Long Island (ftUS)
# A tibble: 2,166 × 13
geoid borough_tract_id state_fips county_fips tract_id county_name
<chr> <chr> <chr> <chr> <chr> <chr>
1 36061000100 1000100 36 061 000100 New York
2 36061000201 1000201 36 061 000201 New York
3 36061000202 1000202 36 061 000202 New York
4 36061000500 1000500 36 061 000500 New York
5 36061000600 1000600 36 061 000600 New York
6 36061000700 1000700 36 061 000700 New York
7 36061000800 1000800 36 061 000800 New York
8 36061000900 1000900 36 061 000900 New York
9 36061001001 1001001 36 061 001001 New York
10 36061001002 1001002 36 061 001002 New York
# ℹ 2,156 more rows
# ℹ 7 more variables: borough_name <chr>, borough_id <chr>, nta_id <chr>,
# nta_name <chr>, puma_id <chr>, puma_name <chr>,
# geometry <MULTIPOLYGON [US_survey_foot]>
Mapping NYC
Let’s get some data
tract_age = tract_acs_data |>select(med_age_est,geoid)nyc_boundaries(geography ="tract") %>%left_join(tract_age, by =c("geoid"="geoid")) %>%ggplot() +geom_sf(aes(fill = med_age_est)) +scale_fill_viridis_c(name ="Median Age (estimated)") +theme_void() +labs(title ="How does age vary across NYC Neighborhoods?")
Projections
Mapping transforms from a spherical surface to a 2D plane
Many Choices
Projections
Mapping transforms from a spherical surface to a 2D plane