Skip to content

Commit 4afcac9

Browse files
committed
codebook template
Codebook template that can be used in the Getting and Cleaning data project.
1 parent a475214 commit 4afcac9

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

Codebook template.Rmd

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: "Codebook template"
3+
author: "Joris Schut"
4+
date: "Tuesday, March 05, 2015"
5+
output:
6+
html_document:
7+
keep_md: yes
8+
---
9+
10+
## Project Description
11+
Short description of the project
12+
13+
##Study design and data processing
14+
15+
###Collection of the raw data
16+
Description of how the data was collected.
17+
18+
###Notes on the original (raw) data
19+
Some additional notes (if avaialble, otherwise you can leave this section out).
20+
21+
##Creating the tidy datafile
22+
23+
###Guide to create the tidy data file
24+
Description on how to create the tidy data file (1. download the data, ...)/
25+
26+
###Cleaning of the data
27+
Short, high-level description of what the cleaning script does. [link to the readme document that describes the code in greater detail]()
28+
29+
##Description of the variables in the tiny_data.txt file
30+
General description of the file including:
31+
- Dimensions of the dataset
32+
- Summary of the data
33+
- Variables present in the dataset
34+
35+
(you can easily use Rcode for this, just load the dataset and provide the information directly form the tidy data file)
36+
37+
###Variable 1 (repeat this section for all variables in the dataset)
38+
Short description of what the variable describes.
39+
40+
Some information on the variable including:
41+
- Class of the variable
42+
- Unique values/levels of the variable
43+
- Unit of measurement (if no unit of measurement list this as well)
44+
- In case names follow some schema, describe how entries were constructed (for example time-body-gyroscope-z has 4 levels of descriptors. Describe these 4 levels).
45+
46+
(you can easily use Rcode for this, just load the dataset and provide the information directly form the tidy data file)
47+
48+
####Notes on variable 1:
49+
If available, some additional notes on the variable not covered elsewehere. If no notes are present leave this section out.
50+
51+
##Sources
52+
Sources you used if any, otherise leave out.
53+
54+
##Annex
55+
If you used any code in the codebook that had the echo=FALSE attribute post this here (make sure you set the results parameter to 'hide' as you do not want the results to show again)

0 commit comments

Comments
 (0)