Connects to the ONS Geography Linked Date SPARQL interface to retrieve descriptions statistical geographies.
get_geography( geography_uri, endpoint = "http://statistics.data.gov.uk/sparql", include_geometry = FALSE )
geography_uri | A character vector of URIs |
---|---|
endpoint | A string for the sparql endpoint |
include_geometry | A boolean indicating whether the geometries should be downloaded (defaults to |
A data frame of geography descriptions
The description includes the official name, GSS-code and optionally the URI of the parent geography and WKT geometry (if it exists).
if (FALSE) { get_geography("http://statistics.data.gov.uk/id/statistical-geography/K02000001") }