Commit d1e1aef4 authored by Languillaume, Antoine's avatar Languillaume, Antoine
Browse files


parent d6f25aa4
# PPS Data Management Example
This gitlab repository contains an example R project to set up a reproducible analysis as detailed in PPS [Data Management Plan] (
To download it on your computer:
1. Make an empty directory.
2. Set it as working directory in R.
3. Paste the following command in your terminal:
``` r
# Data management script
The R script "Master_Script.R" has been developed to automate the creation of part of the PPS standard data management structure. described above. Briefly, it will create the required directory structure, read any raw data files (.csv or .xlsx) stored in the project directory and place them in the data/raw directory.
It will process the raw data into a corresponding processed .xslx file, containing 1. a meta-data worksheet with all required fields and 2. A list of all variables in the data with appropriate units if supplied and extra columns for variable definitions and privacy sensitivity.
To use this script follow the following steps:
1. Create a main directory and place the script and any raw data files (in .csv or .xlsx format) inside.
2. Open R, set the working directory to the main directory and run/source the script
An example data file: "example_data.csv", is distributed with this script and can be used for testing. More details on PPS' data management guidelines can be found in the "Documentation.docx" document.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment