Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rbind_tigris

Row-bind tigris Spatial objects


Description

If multiple school district types are rbound, coerces to "sdall" and does it

Usage

rbind_tigris(...)

Arguments

...

individual (optionally names) tigris Spatial objects or a list of them

Value

one combined Spatial object

Examples

## Not run: 
library(sp)
library(rgeos)
library(maptools)
library(maps)
library(tigris)

me_ctys <- list_counties("me")
aw <- lapply(me_ctys$county_code[1:3], function(x) {
  area_water("Maine", x)
})
tmp <- rbind_tigris(aw)
tmp_simp <- gSimplify(tmp, tol=1/200, topologyPreserve=TRUE)
tmp_simp <- SpatialPolygonsDataFrame(tmp_simp, tmp@data)
plot(tmp_simp)

## End(Not run)

tigris

Load Census TIGER/Line Shapefiles

v1.0
MIT + file LICENSE
Authors
Kyle Walker [aut, cre], Bob Rudis [ctb]
Initial release
2020-07-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.