Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_congressional_district_demographics

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

Simplify the Creation of Choropleth Maps in R

v3.7.0
BSD_3_clause + file LICENSE
Authors
Ari Lamstein [aut, cre], Brian Johnson [ctb], Trulia, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.