codebook: Automatic Codebooks from Survey Metadata Encoded in Attributes

Easily automate the following tasks to describe data frames: summarise the distributions of scales and items graphically and using descriptive statistics, compute reliabilities (internal consistencies, retest, multilevel) for psychological scales, combine this information with metadata (such as item labels and labelled values) that is derived from R attributes. To do so, the package relies on 'rmarkdown' partials, so you can generate HTML, PDF, and Word documents. Codebooks are also available as tables (CSV, Excel, etc.). The metadata and codebooks are also available at your fingertips via RStudio Addins.

Version: 0.7.6
Depends: R (≥ 3.0.1)
Imports: stats, methods, graphics, utils, rmarkdown, ggplot2 (≥ 2.0.0), stringr, psych, likert, knitr, rlang, dplyr, tidyr, pander, skimr (≥ 1.0.2), DT, future, haven (≥ 2.0.0), tibble, purrr, htmltools, labeling, labelled, rio, shiny (≥ 0.13), miniUI (≥ 0.1.1), rstudioapi (≥ 0.5), glue
Suggests: testthat, shinytest, lme4, roxygen2
Published: 2019-01-08
Author: Ruben Arslan [aut, cre]
Maintainer: Ruben Arslan <ruben.arslan at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en_GB
Citation: codebook citation info
Materials: README NEWS
CRAN checks: codebook results


Reference manual: codebook.pdf
Vignettes: Using data and metadata
Example with manual labelling
Nested scales
Qualtrics data and metadata
SPSS dataset with metadata
Package source: codebook_0.7.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: codebook_0.7.6.tgz, r-oldrel: codebook_0.7.5.tgz
Old sources: codebook archive


Please use the canonical form to link to this page.