Man pages for REDCapCAST
REDCap Metadata Casting and Castellated Data Handling

all_naCheck if vector is all NA
apply_factor_labelsPreserve all factor levels from REDCap data dictionary in...
apply_field_labelApply REDCap filed labels to data frame
as_factorConvert labelled vectors to factors while preserving...
as_logicalInterpret specific binary values as logicals
case_match_regex_listList-base regex case_when
cast_data_overviewOverview of REDCapCAST data for shiny
cast_meta_overviewOverview of REDCapCAST meta data for shiny
char2choiceSimple function to generate REDCap choices from character...
char2condSimple function to generate REDCap branching logic from...
clean_field_labelVery simple function to remove rich text formatting from...
clean_redcap_nameclean_redcap_name
compact_vecCompacting a vector of any length with or without names
create_html_tableCreate two-column HTML table for data piping in REDCap...
create_instrument_metaDEPRICATED Create zips file with necessary content based on...
cut_string_lengthCut string to desired length
d2wConvert single digits to words
doc2ddDoc table to data dictionary - EARLY, DOCS MISSING
ds2dd(DEPRECATED) Data set to data dictionary function
ds2dd_detailedExtract data from stata file for data dictionary
easy_redcapSecure API key storage and data acquisition in one
export_redcap_instrumentCreates zip-file with necessary content to manually add...
fct2numAllows conversion of factor to numeric values preserving...
fct_dropDrop unused levels preserving label data
file_extensionDEPRECATED Helper to import files correctly
focused_metadatafocused_metadata
format_redcap_factorConverts REDCap choices to factor levels and stores in labels...
format_subheaderSub-header formatting wrapper
get_api_keyRetrieve project API key if stored, if not, set and retrieve
get_attrExtract attribute. Returns NA if none
get_id_nameGet the id name
guess_time_onlyGuess time variables based on naming pattern
guess_time_only_filterTry at determining which are true time only variables
haven_all_levelsFinish incomplete haven attributes substituting missings with...
hms2characterChange "hms" to "character" for REDCap upload.
html_tag_wrapSimple html tag wrapping for REDCap text formatting
is.labelledTests for multiple label classes
is_missingMulti missing check
is_repeated_longitudinalTest if repeatable or longitudinal
mark_completeCompletion marking based on completed upload
match_fields_to_formMatch fields to forms
mtcars_redcapmtcars dataset slightly modified to use for Shiny app upload...
named_levelsGet named vector of factor levels and values
nav_bar_pageNav_bar defining function for shiny ui
numchar2fctApplying var2fct across data set
parse_dataHelper to auto-parse un-formatted data with haven and readr
possibly_numericTests if vector can be interpreted as numeric without...
possibly_romanTest if vector can be interpreted as roman numerals
process_user_inputUser input processing
process_user_input.characterUser input processing character
process_user_input.data.frameUser input processing data.frame
process_user_input.defaultUser input processing default
process_user_input.responseUser input processing response
read_inputFlexible file import based on extension
read_redcap_instrumentConvenience function to download complete instrument, using...
read_redcap_tablesDownload REDCap data
redcapcast_dataData set for demonstration
redcapcast_metaREDCap metadata from data base
REDCapCAST-packageREDCapCAST: REDCap Metadata Casting and Castellated Data...
REDCap_splitSplit REDCap repeating instruments table into multiple tables
redcap_widerTransforms list of REDCap data.frames to a single wide...
replace_curly_quoteReplace curly apostrophes and quotes from word
sanitize_splitSanitize list of data frames
set_attrSet attributes for named attribute. Appends if attr is NULL
shiny_castLaunch the included Shiny-app for database casting and upload
split_non_repeating_formsSplit a data frame into separate tables for each form
strsplitxExtended string splitting
suffix2labelTransfer variable name suffix to label in widened data
time_only_correctionCorrection based on time_only_filter function
var2fctConvert vector to factor based on threshold of number of...
vec2choiceNamed vector to REDCap choices ('wrapping compact_vec()')
REDCapCAST documentation built on April 4, 2025, 3:18 a.m.