This function has been deprecated in favour of a single function to
read all record-level data. Use bio_record() to retrieve data.
Summarize/ inspect record-level data with bio_record_map().
bio_death(project_dir, record = "death", death_dir = "raw/")Path to the enclosing directory of a UKB project.
A string specifying which death data are required: "death" (default) includes date of death, "cause" includes ICD-10 cause of death.
Path to the enclosing directory of the death data.
A dataframe of including either the date of death, or cause of death.