get_geography | R Documentation |
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 |
The description includes the official name, GSS-code and optionally the URI of the parent geography and WKT geometry (if it exists).
A data frame of geography descriptions
## Not run: get_geography("http://statistics.data.gov.uk/id/statistical-geography/K02000001") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.