Appends new data from one or more molpath_parsed objects to an existing
molpath_db database. Records are deduplicated after appending.
Examples
db <- mp_example_db(n_patients = 5, seed = 1)
new_data <- new_molpath_parsed(
data = tibble::tibble(patient_id = "P99", os_months = 12,
os_status = 1L, pfs_months = 6, pfs_status = 1L),
source_type = "survival", source_file = "new.csv"
)
db <- mp_add_data(db, new_data)