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

CRAN

589

Last 30 days

5667th

2.1K

Last 90 days

8.6K

Last year

Trend: -13.1% (30d vs prior 30d)

r2u CRAN

11

Last 30 days

50

Last 90 days

170

Last year

Trend: -35.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available: 'haven', 'skimr', 'labelled'

Package suggested but not available for checking: ‘rio’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘labelled’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
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

16 tracked
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