get_congressional_district_demographics: Get a handful of demographic variables on US Congressional...

View source: R/get_congressional_demographics.R

get_congressional_district_demographicsR Documentation

Get a handful of demographic variables on US Congressional Districts from the US Census Bureau as a data.frame.

Description

The data comes from the American Community Survey (ACS). The variables are: total population, percent White not Hispanic, Percent Black or African American not Hispanic, percent Asian not Hispanic, percent Hispanic all races, per-capita income, median rent and median age.

Usage

get_congressional_district_demographics(year = 2018, survey = "acs5")

Arguments

year

The year the survey was published

survey

The survey. Either "acs5" or "acs1"


choroplethr documentation built on May 29, 2024, 1:20 a.m.