
Package index
-
redcap_export_tbl() - Export tables from REDCap
-
redcap_export_byform() - Export REDCap data by form
-
redcap_export_batch() - Export data in batches
-
redcap_export_meta() - Export the most important REDCap metadata tables
Working with manually exported datasets
REDcap can export data through the web interface too. These functions may be helpful in such cases.
-
redcap_toform() - Convert manually downloaded REDCap data into a list of forms
Preparing data for analysis
Functions for converting from REDCap’s data representation to a more useful format for analysis
-
redcap_prep() - Convert REDCap variable types (dates, datetimes, factors) and apply labels
-
redcap_prep_dates()redcap_prep_datetimes() - Convert dates stored as strings to
Datevariables
-
singlechoice_factor() - create factors for single choice variables
-
multichoice_factor() - create factors for multiple choice variables
-
label_others() - Label non-single/multiple choice/date(time) fields
singlechoice_factor,multichoice_factor,rc_dateandrc_datetime
-
convert_to_logical() - Convert variables to logical
-
remove_empty_rows() - Analagous to `janitor::remove_empty(..., "rows")`, but allows ignoring specific variables
-
singlechoice_opts()multichoice_opts() - Get options for single and multi choice questions
Preparing data for import INTO REDCap
REDCap expects data to be in a specific format for import. These functions help to format the data appropriately, including guiding the user through converting from an old data format to the REDCap format.
-
redcap_import_select() - REDCap Select and Rename
-
redcap_import_recode() - REDCap Recode
-
redcap_import_dates() - REDCap Date Conversion
-
redcap_import_times() - REDCap Time Conversion
-
redcap_import_datetime() - REDCap Date-Time Conversion
-
importdemo_data - Example import data
-
importdemo_dict - Example data dictionary
-
rc_prep()rc_dates()rc_datetimes()split_by_form() - Deprecated functions These functions have been renamed to be more consistent with the rest of the package. They may be removed in a future version.