loadCensusData: load 200 or 2010 census data

Description Usage Arguments Examples

Description

Loads SpatialPolygonDataFrames representing the 2000 or 2010 census. If the dataset packages are not present they are installed (via the internet).

Usage

1
2
loadCensusData(state,level=c("county","tract","blkgrp","blk","cdp"),
		year=c("2010","2000"), verbose=TRUE, osmTransform=TRUE, envir = .GlobalEnv)

Arguments

state

the name of the state (lower case)

level

the detail level of the dataset. note that blkgrp and blk yield very large datasets

year

census year

verbose

how verbose to be

osmTransform

should data be loaded in the OpenStreetMaps mercator projection

envir

the environment where the data should be loaded

Examples

1
2
3
4
5
## Not run: 
loadCensusData(state = 'california')
plot(california.county10)

## End(Not run)


Search within the DeducerSpatial package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.