Skip to content

Instantly share code, notes, and snippets.

@walkerke
Created May 6, 2016 00:19
Show Gist options
  • Save walkerke/80163040d1d9df01e9c247f025194f77 to your computer and use it in GitHub Desktop.
Save walkerke/80163040d1d9df01e9c247f025194f77 to your computer and use it in GitHub Desktop.
library(tigris)
us_states <- unique(fips_codes$state)[1:51]
us_places <- rbind_tigris(
lapply(
us_states, function(x) {
places(state = x, cb = TRUE)
}
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment