read_definition_table: Process definition table

View source: R/prepare_ukb_data.R

read_definition_tableR Documentation

Process definition table

Description

Given a definition table, check, clean, format as well as to expand the codes.

Usage

read_definition_table(f.definition, f.data.setting, dir.code.map)

Arguments

f.definition

path to definition table (.tsv)

dir.code.map

path to directory of the code mappings

f.data.settings

data frame containing data settings

Value

expanded definition table

Examples

dfDefinitions_processed_expanded<-read_defnition_table(fdefinitions,fdata_setting,dir.code.map=paste0(repo_dir,"inst/extdata/"))

niekverw/ukbpheno documentation built on Oct. 30, 2023, 9:17 p.m.