
Apply multiple multi-analyte resolutions
Source:R/cleaning_pipeline.R
apply_multi_analyte_resolutions.RdApply multiple multi-analyte resolutions
Usage
apply_multi_analyte_resolutions(
df,
name_cols,
resolutions = NULL,
cas_cols = character(0)
)Arguments
- df
Cleaned data frame.
- name_cols
Character vector of Name-tagged column names.
- resolutions
Data frame/list with
roworrow_index,action, and optionalvalueorvalues. Whendfhas anoriginal_row_idcolumn the row key is matched against it (as written bypending.csv); otherwise it is a 1-based row position.- cas_cols
CASRN-tagged column names. CAS values are left unchanged, but a repeated source CAS is recorded and requires component review.