The field code lookup table associates with each field id, a desciptive name (which includes the field id, array, index), ukb_type, r_type, basket and the path to the csv file containing the field data.

bio_field(project_dir, pheno_dir = "phenotypes")

Arguments

project_dir

Path to the enclosing directory of a UKB project

pheno_dir

Path to the enclosing directory of the phenotype data.

Value

A dataframe with columns: ukb_type, r_type, path