Learn R Programming

stplanr (version 0.1.4)

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)
# ## End(Not run)

Run the code above in your browser using DataLab