Using the API with R - opendatascot R package
opendatascot is a package for the R statistical language, which allows users to download data from statistics.gov.scot using simple and easy to learn commands. opendatascot removes the need to write SPARQL code; you simply need the URI of a dataset. opendatascot can be used interactively, or as part of a reproducible analytical pipeline.
Instruction for use, installation and full source code, can be found at Access statistics.gov.scot Without SPARQL • opendatascot (scotgovanalysis.github.io)