NC2010DMG: North Carolina Demographics

Description Usage Format Source References Examples

Description

North Carolina county demographics for 2010 and county voter information for the North Carolina Amendment 1 ballot initiative which took place May 8, 2012, are stored in the data frame NC2010DMG.

Usage

1

Format

A data frame with 100 observations (counties) on the following 32 variables:

Source

The original data was provided by E.L. Davison, Department of Sociology, Appalachian State University. Variables countyName through popden were obtained from https://data.census.gov/cedsci/ and further cleaned by Maureen O'Donnell and Eitan Lees. The variables pctfor through mccain08 were obtained from https://www.ncsbe.gov/. The variables evanrate and churches were obtained from https://thearda.com, while the information for colleges was obtained from https://collegestats.org/colleges/north-carolina/.

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

1
2
3
4
ggplot(data = MILKCARTON, aes(x = size, y = seconds)) + geom_boxplot()
ggplot(data = MILKCARTON, aes(x = size, y = seconds, fill = size)) + geom_boxplot() + 
guides(fill = "none") + scale_fill_brewer() + 
labs(x = "size of container", y = "drying time in seconds")

PASWR2 documentation built on Sept. 5, 2021, 5:44 p.m.