sr_demographic_data: Import ACS census data for a state and tracts

View source: R/utils-census.R

sr_demographic_dataR Documentation

Import ACS census data for a state and tracts

Description

Imports census tract and state-level demographic data from the ACS. Then combines the census tract and state-level information into one data set. This is a helper function for creating the Rmarkdown file and has little application outside this file.

Usage

sr_demographic_data(acs_variables, state_abb, tract_fips)

Arguments

acs_variables

The variable names from the ACS that we want to pull.

state_abb

The two letter state abbreviation on the state that you want to show all schools for.

tract_fips

The fips code of the census tracts that we want to get data for.


shanejorr/schoolreportr documentation built on Aug. 7, 2023, 12:25 p.m.