Learn R Programming

stplanr (version 0.1.8)

zones: SpatialPolygonsDataFrame of home locations for flow analysis.

Description

These correspond to the cents data.

Usage

data(zones)

Arguments

Format

A SpatialPolygonsDataFrame

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)
# use_data(zones, overwrite = TRUE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab