get_area_census_geography: Get U.S. Census geography overlapping with an area.

View source: R/get_area_census_geography.R

get_area_census_geographyR Documentation

Get U.S. Census geography overlapping with an area.

Description

Return an sf object with the U.S. Census blocks, block groups, or tracts overlapping with an area. By default, at least 25% of the tract area or 30% of the block group area, or 50% of the block area must be within the provided area to be returned. Returned sf object includes new columns with the combined land and water area of the Census geography, the Census geography area within the provided area, the percent of Census geography area within the provided area, and the percent of the provided area within the Census geography area.

Usage

get_area_census_geography(
  area,
  geography = c("block", "block group", "tract"),
  area_overlap = NULL
)

Arguments

area

sf object.

geography

Character vector with type of U.S. Census

area_overlap

Optional. A numeric value less than 1 and greater than 0 representing the physical area of the geography that should be within the provided area to return.


elipousson/mapbaltimore documentation built on April 2, 2024, 4:23 p.m.