cvap_distribute_censable: Distribute CVAP at the Block Group and Download Data

View source: R/distribute.R

cvap_distribute_censableR Documentation

Distribute CVAP at the Block Group and Download Data

Description

Downloads CVAP, block data, and block group data all together. Calls cvap_distribute within.

Usage

cvap_distribute_censable(
  state,
  year = 2021,
  clean = TRUE,
  wts = "pop",
  include_implied = TRUE
)

Arguments

state

character. The state to get data for or nation for the nation file.

year

numeric. Year for the data in 2009 to 2021.

clean

Should variable names be standardized? Default is TRUE.

wts

'pop' (default) or 'vap' for the group to distribute by.

include_implied

logical if a column for the implied total (impl_cvap) should be included. Default is TRUE

Value

cvap tibble estimated at the block level

Examples

## Not run: 
# Requires API set up with tidycensus or censable
cvap_distribute_censable('DE', 2019)

## End(Not run)


cvap documentation built on July 9, 2023, 7:27 p.m.