getBoundary: getBoundary

Description Usage Arguments Details Value Examples

View source: R/getBoundary.R

Description

Returns KML file for a UK Parliament constituency.

Usage

1
getBoundary(name = NA, plot_boundary = F)

Arguments

name

Name of the constituency.

plot_boundary

Produce a (very) rudimentary plot of the constituency boundary.

Details

Returns the bounding polygon of the constituency, in KML format (see mapit.mysociety.org for other formats, past constituency boundaries, and so on).

Value

A SpatialPolygonsDataFrame from rgdal::readOGR

Examples

1
getBoundary("Hornsey and Wood Green", plot_boundary = T)

jblumenau/twfyR documentation built on Oct. 25, 2019, 7:13 a.m.