Skip to contents

Import data

Function to easily import data from a REDCap project into R for analysis.

redcap_data()
Read REDCap data

Process data

Functions to process the REDCap data once it’s imported into R

rd_transform()
Transformation of the Raw Data
rd_rlogic()
Translate REDCap Logic to R Logic
rd_insert_na()
Insert Missing Values Using a Filter

Query generation

Functions involved in the query generation to validate the REDCap data

rd_query()
Identification of Queries
rd_event()
Identification of Missing Event(s)
check_queries()
Check for Changes Between Two Query Reports
rd_export()
Exporting Query Dataset

Built-in dataset

Dataset that is included in the package for testing

covican
Subset of COVICAN's Database

Auxiliar functions

Auxiliar functions involved in the REDCap data processing

checkbox_names()
Change Checkboxes Names to Option Names
fill_data()
Fill Rows with Values from One Event
recalculate()
Recalculate REDCap Calculated Fields
split_event()
Creation of a Data Frame with Variables from All Forms of a Specified Event
split_form()
Creation of a Data Frame with Variables from a Specified Form
to_factor()
Convert Variables to Factors
transform_checkboxes()
Transformation of Checkboxes with Branching Logic