getGeometry {twfy} | R Documentation |
Return geometry information for a constituency
Description
From TheyWorkForYou: "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 meters, 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."
Usage
getGeometry(name)
Arguments
name |
Name of constituency |
Value
A data.frame with columns
parts
number of connected parts of the constituencyarea
area in square metersmin_lat
minimum latitude in the constituencycentre_lat
latitude of the central point of the constituencymax_lat
maximum latitude in the constituencymin_long
minimum longitude in the constituencycentre_long
longitude of the central point of the constituencymax_long
maximum longitude in the constituencysrid_n
min_e
centre_e
max_e
min_n
centre_n
max_n