getGeometry: getGeometry

Description Usage Arguments Details Value Examples

View source: R/getGeometry.R

Description

Returns geometry information for constituencies.

Usage

1

Arguments

name

Name of the constituency.

Details

This currently includes, for Great Britain, the latitude and longitude of the centre point of the bounding box of the constituency, its area in square metres, the bounding box itself and the number of parts in the polygon that makes up the constituency. For Northern Ireland, as we don't have any better data, it only returns an approximate (estimated by eye) latitude and longitude for the constituency's centroid.

Value

data.frame of constituency information.

Examples

1
2
constituency_names <- getConstituencies()
getGeometry(constituency_names[1])

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