df_county_demographics: A data.frame containing demographic statistics for each...

df_county_demographicsR Documentation

A data.frame containing demographic statistics for each county in the United States.

Description

A data.frame containing demographic statistics for each county in the United States.

Usage

data(df_county_demographics)

References

Data comes from the 2013 5-year American Community Survey (ACS). Data generated by ?get_county_demographics.

Examples

## Not run: 
library(choroplethr)
data(df_county_demographics)

# examine the 2013, 5-year county percent hispanic estimates as a boxplot and choropleth

# the boxplot shows the distribution
boxplot(df_county_demographics$percent_hispanic)

# the choropleth map shows the location of the values
# first set the 'value' column to be the column we want to render
df_county_demographics$value = df_county_demographics$percent_hispanic
county_choropleth(df_county_demographics)

## End(Not run)

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