get_baltimore_worker_flows: Get Baltimore metro area worker flows from the Census...

View source: R/get_baltimore_worker_flows.R

get_baltimore_worker_flowsR Documentation

Get Baltimore metro area worker flows from the Census Transportation Planning data (2012-2016 ACS)

Description

Use FeatureLayers provided by the Baltimore Metropolitan Council.

Usage

get_baltimore_worker_flows(
  area,
  tracts = baltimore_tracts,
  min_estimate = 10,
  geometry = TRUE,
  crs = 2804
)

Arguments

area

A sf or sfc object that intersects with tracts.

tracts

Data from tigris::tracts() for one or more county in the Balitmore metro area. Defaults to baltimore_tracts.

min_estimate

Minimum number of workers or residents a tract must have to include in results. Tracts with fewer than the min_estimate values are filtered out of results. Defaults to 10.

geometry

If TRUE, return a list of sf objects. If FALSE, return a list of data.frame objects. Defaults to TRUE.

crs

Coordinate reference system to use for returned data when geometry = TRUE. Defaults to 2804.

Value

A list of two data.frames or sf objects named "to" and "from".


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