This repository contains the code for a self-assessment tool used by Scottish Government statisticians to track their progress in developing Reproducible Analytical Pipelines (RAP).
The tool allows the user to assess their progress against various criteria of RAP organised into different levels of maturity. Once an assessment has been made, the user can choose to download a summary report of their responses and/or a csv data file.
This is the main script used to produce the tool. It is a Quarto document with Shiny elements embedded.
This folder contains various Quarto documents for either:
-
repeated elements of the main self-assessment tool
-
the output report
A sub-folder called help/
contains the information supplied in the 'What does this mean?' sections for each criteria.
This folder mostly contains Shiny modules used in the tool. The R function level_label.R
is also stored in this folder.
The following files can be found in the data
folder:
-
levels.rds
: Defines the levels of RAP -
options.rds
: Sets the options available for self-assessment -
criteria.rds
: Defines each criteria and which RAP level they pertain to
The data-raw
folder contains the R code used to produce these files.
-
styles.scss
: An SCSS style sheet used for the tool and output report. -
partials/title-block.html
: An html file defining the layout of the title block used in both the tool and output report. -
images/SG-logo.jpg
: Scottish Government logo used in the title block. -
README.md
: This document. -
.gitignore
: A file specifying which files should be ignored by Git. -
rap-self-assessment.Rproj
: An RStudio Project file.
If you have any feedback or suggestions, please open an issue in the first instance.
This repository is maintained by Alice Hannah.
Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.
The documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.