read_gp_script_data: Read Primary Care prescription records

read_gp_script_dataR Documentation

Read Primary Care prescription records

Description

This function reads the prescription records from General Practitioner (GP) data. Refer to official UKB documetation for more information regarding this data.

Usage

read_gp_script_data(fgp, add_extra_script_columns = F)

Arguments

fgp

Path to GP prescription records

add_extra_script_columns

whether or not to keep drug_name and quantity columns, default: False

Value

list of data.table objects with all episodes

Examples

read_gp_clinical_data("gpscripts.txt" )

niekverw/ukbpheno documentation built on Oct. 18, 2024, 10:14 p.m.