Identify duplicates preventing pivoting wider
check_pivot_duplicates(
database_object,
dataset_ids = unique(database_object$traits$dataset_id)
)
Database object
dataset_id
's to check for duplicates; default is all of them
Tibble with duplicates and pivot columns