Skip to contents

Applies default transformations to specific forms within the REDCap database (project). This function modifies the project object to include default transformations, which may involve adjustments, calculations, or reformatting of data in predefined forms.

Usage

add_default_project_transformation(project)

add_project_defaults(project)

default_project_transformation(project)

add_default_project_fields(project)

add_project_transformation(project, forms_transformation)

add_default_project_summary(project)

Arguments

project

A validated project object containing REDCap project data and settings. Generated using load_project or setup_project

forms_transformation

a data.frame that matches instruments. See default_project_transformation for an example.

Value

The updated project object with default transformations applied to the specified forms.

Details

This function is designed to streamline and standardize data processing by applying default transformations to the database forms. The transformations are predefined within the function and ensure consistency across datasets.

See also

save_project for saving the database or summaries.