This function is really meant to be used in a pipeline as a quick shortcut to add the linked status column
add_linked_status_col(.data, studyid_col = "studyid")
a data frame (or tibble) or arrow Dataset with a studyid column
the name of the study id column. Defaults to "studyid"
the same data frame plus a linked_status
column