collapse_to_distinct_rows.RdImagine you have a dataframe with two id columns that contain two rows that actually are just one combination.
This function distincts them within a purrr workflow, see example.
collapse_to_distinct_rows(...)string or numeric vectors, typically id columns
Copied from https://stackoverflow.com/a/62381665/2646974