The function is used by norm_internal_subset
and
norm_internal_bridge
to combine the reference dataset that has
Adj_factor = 0
and the non-reference dataset that used the adjustment
factors provided in adj_fct_df
.
norm_internal_adjust(
ref_df,
ref_name,
ref_cols,
not_ref_df,
not_ref_name,
not_ref_cols,
adj_fct_df
)
Tibble or ArrowObject with the normalized dataset.
The reference dataset to be used in normalization (required).
Project name of the reference dataset (required).
Named list of column names in the reference dataset (required).
The non-reference dataset to be used in normalization (required).
Project name of the non-reference dataset (required).
Named list of column names in the non-reference dataset (required).
Dataset containing the adjustment factors to be applied to the non-reference dataset for (required).
Klev Diamanti
The function calls norm_internal_adjust_ref
and
norm_internal_adjust_not_ref
and combines their outputs.