Learn R Programming

stplanr (version 0.1.0)

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
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)

Run the code above in your browser using DataLab