fetch_census_estimates: Get census estimates for counties by state

Description Usage Arguments Value

View source: R/census.R

Description

Get census estimates for counties by state

Usage

1
2
3
4
5
6
fetch_census_estimates(
  state = "all",
  simplify = TRUE,
  save_file = TRUE,
  path = stcovid_path("census")
)

Arguments

state

character, the name of the state or 'all'

simplify

logical, if TRUE simplify into a familiar form

save_file

logical if TRUE save as geojson, ignored if simplify = FALSE

path

character, the path to save the file

Value

sf table of county population, density, geoid and geometry. If state is 'all' then iterate through all states and return a list of sf tables


BigelowLab/stcovid documentation built on May 1, 2020, 3:59 p.m.