query_ons: Run a SPARQL query on the ONS Geography Linked Data API

Description Usage Arguments

View source: R/query_ons.R

Description

The query returns a data frame with the 'results' element of the list return by the API query. For documentation of the API see http://statistics.data.gov.uk/sparql.

Usage

1
query_ons(query, ...)

Arguments

query

Character. SPARQL query for the API.

...

Other arguments passed to SPARQL::SPARQL().


ChrisFairless/geograpi documentation built on July 4, 2020, 12:01 a.m.