
Add Default Forms Transformation to the Database
Source:R/transform_project.R
default-transformations.Rd
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.
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.