Transforms the REDCap database (`DB` object) by applying the necessary field transformations. This function modifies the structure of the data and records according to the transformation rules specified.
Details
This function checks if the database has already been transformed and applies the transformation if not. It stores the original column names before transforming the data. The transformation process can include modifying field values and renaming columns based on predefined transformation rules.
See also
save_DB
for saving the transformed database object.
untransform_DB
for reverting the transformation.
Other db_functions:
rmarkdown_DB()
,
summarize_DB()
,
update_DB()