Open cicdguy opened 3 years ago
This code in merge_datasets relabel only columns which are not spread (get_relabel_cols).
merge_datasets
anl_relabel_call <- get_anl_relabel_call( columns_source = get_relabel_cols(columns_source, dplyr_call_data), # don't relabel reshaped cols datasets = datasets, anl_name = anl_name )
For example AVAL_OS and AVAL_PFS should not be relabelled by column label but by factor level of variable which spreads data (eg PARAM). Optimally if possible should be in one rtables::relabel call but sepatate call also allowed.
Provenance:
Creator: gogonzo
Hi @gogonzo Should we add this item to the data merge roadmap insightsengineering/NEST-roadmap#36?
This code in
merge_datasets
relabel only columns which are not spread (get_relabel_cols).For example AVAL_OS and AVAL_PFS should not be relabelled by column label but by factor level of variable which spreads data (eg PARAM). Optimally if possible should be in one rtables::relabel call but sepatate call also allowed.
Provenance: