Skip to content

codebook

Automatic Codebooks from Metadata Encoded in Dataset Attributes

v0.10.1 · Mar 3, 2026 · MIT + file LICENSE

Description

Easily automate the following tasks to describe data frames: Summarise the distributions, and labelled missings of variables graphically and using descriptive statistics. For surveys, compute and summarise 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.) and in JSON-LD, so that search engines can find your data and index the metadata. The metadata are also available at your fingertips via RStudio Addins.

Downloads

797

Last 30 days

4491st

1.4K

Last 90 days

8.5K

Last year

Trend: +68.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies rmdpartials forcats (>= 0.4.0) vctrs ggplot2 stringr rlang dplyr tidyr jsonlite haven purrr tibble glue likert knitr +5 more dependencies codebook

Version History

new 0.10.1 Mar 10, 2026
updated 0.10.1 ← 0.10.0 diff Mar 2, 2026
updated 0.10.0 ← 0.9.6 diff Feb 25, 2026
updated 0.9.6 ← 0.9.5 diff Jan 7, 2025
updated 0.9.5 ← 0.9.2 diff Oct 13, 2024
updated 0.9.2 ← 0.8.2 diff Jun 6, 2020
updated 0.8.2 ← 0.8.1 diff Jan 8, 2020
updated 0.8.1 ← 0.8.0 diff May 20, 2019
updated 0.8.0 ← 0.7.6 diff Feb 20, 2019
updated 0.7.6 ← 0.7.5 diff Jan 7, 2019
updated 0.7.5 ← 0.7.4 diff Dec 3, 2018
updated 0.7.4 ← 0.6.3 diff Nov 23, 2018
updated 0.6.3 ← 0.6.2 diff Jul 31, 2018
updated 0.6.2 ← 0.5.9 diff Jul 25, 2018
updated 0.5.9 ← 0.5.8 diff May 21, 2018
new 0.5.8 Mar 20, 2018