Description Usage Format Source References Examples
Information about each state collected from both the official US Census website and from various other sources.
1 |
A data frame with 51 observations on the following 23 variables.
stateState name.
abbrState abbreviation (e.g. "MN").
fipsFIPS code.
pop2010Population in 2010.
pop2000Population in 2000.
homeownershipHomeownership rate.
multiunitPercent of living units that are in multi-unit structures.
incomeAverage income per capita.
med_incomeMedian household income.
povertyPoverty rate.
fed_spendFederal spending per capita.
land_areaLand area.
smokePercent of population that smokes.
murderMurders per 100,000 people.
robberyRobberies per 100,000.
agg_assaultAggravated assaults per 100,000.
larcenyLarcenies per 100,000.
motor_theftVehicle theft per 100,000.
soc_secPercent of individuals collecting social security.
nuclearPercent of power coming from nuclear sources.
coalPercent of power coming from coal sources.
tr_deathsTraffic deaths per 100,000.
tr_deaths_no_alcTraffic deaths per 100,000 where alcohol was not a factor.
unemplUnemployment rate (February 2012, preliminary).
Please note that we have not validated the Infochimps data. The other data were collected directly from the corresponding websites.
US Census website (pop2010, pop2000, homeownership, multiunits, income, med_income, poverty, fed_spend, land_area), http://quickfacts.census.gov/qfd/index.html
Infochimps (murder, robbery, agg_assault, larcent, motor_theft, soc_sec, coal, nuclear), http://www.infochimps.com (see linked pages and corresponding downloadable data sets for original source information)
National Highway Traffic Safety Administration (tr_deaths, tr_deaths_no_alc), http://www-fars.nhtsa.dot.gov/
Bureau of Labor Statistics (unempl), http://www.bls.gov/web/laus/laumstrk.htm
OpenIntro, openintro.org
1 2 3 4 5 6 7 8 9 10 11 | data(state)
mapvar(state$unempl, state$abbr, 3:1, Legend="Unemployment (%)")
mapvar(state$soc_sec, state$abbr, 1:3, Legend="Social Security (%)")
DC <- state$state == "District of Columbia"
murder <- state$murder
murder[DC] <- NA
mapvar(murder, state$abbr, c(3,2,2), Legend="Murders per 100k")
mapvar(state$nuclear, state$abbr, c(2,3,2), Legend="Nuclear Energy (%)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.