| county_bins {binsmooth} | R Documentation | 
ACS County Income Data, 2006-2010
Description
Binned income data from 3,221 counties in the U.S. and Puerto Rico.
Usage
data("county_bins")Format
A data frame with 51536 observations on the following 6 variables.
- fips
- Number identifying the county 
- households
- Bin counts 
- bin_min
- Left endpoints of bins (US Dollars) 
- bin_max
- Right endpoints of bins 
- county
- County name 
- state
- State name 
Source
U.S. Census Bureau, American Community Survey: https://www.census.gov/programs-surveys/acs/
See Also
Examples
data(county_bins)
data(county_true)
binedges <- county_bins$bin_max[county_bins$fips=="6083"]+0.5 # continuity correction
bincounts <- county_bins$households[county_bins$fips=="6083"]
smean <- county_true$mean_true[county_true$fips=="6083"]
plot(splinebins(binedges, bincounts, smean)$splinePDF, 0, 300000,
     n=500, main="Santa Barbara County")
plot(stepbins(binedges, bincounts, smean)$stepPDF, do.points=FALSE, col="red", add=TRUE)
[Package binsmooth version 0.2.2 Index]