[Deprecated]

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().

Record-level hospital episode statistics (HES) in-patient information.

bio_hesin(project_dir, record, hesin_dir = "raw/")

Arguments

project_dir

Path to the enclosing directory of a UKB project.

record

A string specifying which HES records are required: "critical", "delivery", "diag", "maternity", "oper", "psych", "hesin".

hesin_dir

Path to the enclosing directory of the primary care data.

Value

A dataframe of the requested record-level data.