Send query to statistics.gov.scot.

query_scotstat(query)

Arguments

query

A character scalar corresponding to SPARQL query string.

Value

A response object derived via POST function.

Details

Query Scotstat data using POST function available in httr package. The functions reads the SmarterScotland.endpooint option values and uses the provided endpoint to send query to statistics.gov.scot.

Examples

# NOT RUN {
query_scotstat(read_query_file(query_file("get_available_frameworks")))
# }