Learn R Programming

stplanr (version 0.2.4)

zones: Spatial polygons of home locations for flow analysis.

Description

These correspond to the cents data.

Arguments

Details

  • geo_code. the official code of the zone

Examples

Run this code
# NOT RUN {
zones <- rgdal::readOGR(dsn = "/home/robin/npct/pct-bigdata/msoas.geojson", layer = "OGRGeoJSON")
proj4string(zones) <- proj4string(cents)
zones <- zones[cents,]
plot(zones)
points(cents)
zones_sf = sf::st_as_sf(zones)
# }

Run the code above in your browser using DataLab