| 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
partsnumber of connected parts of the constituencyareaarea in square metersmin_latminimum latitude in the constituencycentre_latlatitude of the central point of the constituencymax_latmaximum latitude in the constituencymin_longminimum longitude in the constituencycentre_longlongitude of the central point of the constituencymax_longmaximum longitude in the constituencysrid_nmin_ecentre_emax_emin_ncentre_nmax_n