Created
August 25, 2017 16:09
-
-
Save dholstius/d6518b0f93dd234acb57b73208307fc5 to your computer and use it in GitHub Desktop.
Reprex for UScensus2010 block level demographics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(UScensus2010) | |
library(UScensus2010tract) | |
library(UScensus2010blkgrp) | |
library(UScensus2010blk) | |
Cook_tracts <- UScensus2010::county(state = "Illinois", name = "Cook", level = "tract") | |
Cook_tracts@data[1:8, 1:8] | |
plot(Cook_tracts) | |
Cook_blkgrps <- UScensus2010::county(state = "Illinois", name = "Cook", level = "blkgrp") | |
Cook_blkgrps@data[1:8, 1:8] | |
Cook_blks <- UScensus2010::county(state = "Illinois", name = "Cook", level = "blk") | |
Cook_blks@data[1:8, 1:8] # FIXME: yields "NA" just about everywhere, including within row.names |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment