combine_redcap_labka: Combine data from labka export with redcap data.

View source: R/utils.R

combine_redcap_labkaR Documentation

Combine data from labka export with redcap data.

Description

Combine data from labka export with redcap data.

Usage

combine_redcap_labka(labka_data, redcap_data, identifier = FALSE)

Arguments

labka_data

Tibble | Tibble of lakba data

redcap_data

Tibble | Tibble of redcap data

identifier

bool | Whether or not to include CPR number in the return. You must have CPR number in your data when combining data with labka data.

Value

tibble

Note

You need to have CPR number included in both the labka and redcap data to use this function (left join is based on CPR number and date).

Examples

combine_redcap_labka(labka_data = labka_data,
                     redcap_data = redcap_data,
                     identifier = TRUE)

AndersAskeland/askelandR documentation built on June 23, 2022, 11:07 a.m.