query_scotstat: Query Scotstat Repository

Description Usage Arguments Details Value Examples

View source: R/query_scotstat.R

Description

Send query to statistics.gov.scot.

Usage

1

Arguments

query

A character scalar corresponding to SPARQL query string.

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.

Value

A response object derived via POST function.

Examples

1
## Not run: query_scotstat(read_query_file(query_file("get_available_frameworks")))

konradedgar/SmarterScotland documentation built on Oct. 3, 2019, 11:46 a.m.