This repository contains the Reproducible Analytical Pipeline (RAP) for the sampling of the three centralised Scottish surveys: the Scottish Household Survey (SHS), the Scottish Health Survey (SHeS) and the Scottish Crime and Justice Survey (SCJS).
The only file that needs to be updated before running the cssampling RAP is the config.R file. An example of this file with placeholder values can be found in the scripts
folder.
To draw a sample for one of the centralised surveys, the relevant master script should be run (i.e., shs_sampling.R
, scjs_sampling.R
or shes.sampling.R
). This file sources all required scripts and executes them.
This repository is available under the Open Government Licence v3.0.