SmarterScotland provides a suite of convenience functions facilitating sourcing data from the statistics.gov.scot portal.
For sample usage see vignette("basic-workflow", package = "SmarterScotland")
.
For other usage, including charting and more advanced functionalities see
vignette("other-functions", package = "SmarterScotland")
.
The following package is written in the open (both metaphorically and literally as I tend do undertake this development as a leisure reactivity while working on the Glasgow - Edinburgh commuter train), with big thanks to the whole Open Source community that contributed useful input through their questions, answers, discussions and comments via StackOverflow, GitHub and R-Help.
SmarterScotland.endpoint
Defaults to
http://statistics.gov.scot/sparql
. If need can be changed by
modifying options(SmarterScotland.endpoint = "new_value")
. It's
highly unlikely that you will ever need to change this option.
SmarterScotland.response_check
Defaults to warn
which results in warning if endpoint is not accessible. Other options are
stop
and ignore
which respectively stop on errors or
ignore checks.
SmarterScotland.geography_match_msg
Shows geography URIs for which there is match in the stored data set.
SmarterScotland.suffix_rdf
When constructing URI appends
/rdfs:label
to selected strings. Defaults to TRUE
; most likely
you don't have a need to change this.