read_labka: Read Labka data and converts to tibble.

View source: R/read_data.R

read_labkaR Documentation

Read Labka data and converts to tibble.

Description

Read Labka data and converts to tibble.

Usage

read_labka(path, identifier = FALSE)

Arguments

path

string | File location of Labka data

identifier

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

Value

tibble

Note

If you wish to combine Lakba with redcap data you must include CPR number (identifier = TRUE)

Examples

# Read labka data and get tibble with identifier
labka_read(path = "~/Documents/Data (Local)/lakba-export.xlsx",
                indetifier = TRUE)

AndersAskeland/askelandR documentation built on Sept. 20, 2023, 10:39 a.m.