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")

Arguments

.data

a data frame (or tibble) or arrow Dataset with a studyid column

studyid_col

the name of the study id column. Defaults to "studyid"

Value

the same data frame plus a linked_status column