Skip to contents

RStudio Addins

Addins to help you browse the metadata within RStudio

codebook_browser()
Browse and search codebook
label_browser()
Browse and search variable and value labels
label_browser_static()
Browse and search variable and value labels

Codebook generators

Functions to generate (parts of) the codebook

codebook()
Generate rmarkdown codebook
compact_codebook()
Compact Codebook
new_codebook_rmd()
Create a codebook rmarkdown document
codebook_table()
Codebook metadata table
codebook_items()
Tabular codebook
codebook_missingness()
Codebook missingness
md_pattern()
Missing data patterns
codebook_survey_overview()
Codebook survey overview
codebook_data_info()
Codebook data info
codebook_component_scale()
Codebook component for scales
codebook_component_single_item()
Codebook component for single items
metadata_jsonld()
Metadata as JSON-LD
metadata_list()
Metadata from dataframe
load_data_and_render_codebook()
Submit a data file and an rmarkdown template as a file to generate a codebook. Used chiefly in the webapp.
skim_codebook()
Skim codebook

Prepare data for codebook

Functions to annotate data to be more interpretable by the codebook functions

detect_missing() detect_missings()
Detect missing values
detect_scales()
Detect item scales
compute_reliabilities()
Compute reliabilities
rescue_attributes()
Rescue lost attributes
aggregate_and_document_scale()
Aggregate variables and remember which variables this were
add_R()
Append R to string, if it doesn't end in R already.
reverse_labelled_values()
Reverse labelled values reverse the underlying values for a numeric haven::labelled() vector while keeping the labels correct
to_factor()
To factor
has_label()
Has label
has_labels()
Has labels
metadata() `metadata<-`()
Add metadata to a dataset
data_description_default()
Data description default
list_to_dict() dict_to_list()
Go from a named list to a key-value data frame or data dictionary and back
bfi
Mock BFI data

Prepare data for non-codebook stuff

Functions to remove attributes that might confuse other packages

zap_attributes()
Zap attributes
reexports as_factor zap_label var_label var_label val_label val_label val_labels val_labels %>%
Objects exported from other packages
zap_labelled()
Zap labelled class

Methods

Various methods to print and plot objects

knit_print.htest()
Print a stats::cor.test() object for knitr
knit_print.multilevel()
Print a psych::multilevel.reliability() object for knitr
knit_print.alpha()
Pretty-print a Cronbach's alpha object
likert_from_items()
Derive a likert object from items
plot_labelled()
Plot labelled vector
get_skimmers.haven_labelled()
Define skimmers for haven_labelled variables
get_skimmers.haven_labelled_spss()
Define skimmers for haven_labelled_spss variables

formr-data specific helpers

ended()
How many surveys were ended?
expired()
How many surveys were expired?
modified()
How many surveys were modified?