Description Usage Arguments Value
Extracts values from linked EHR data. Data is extracted from
the value1
field with the exception of data provider 2 where values
are extracted from value2
if value1
is empty. Units are taken
from value3
for data provider 2 (otherwise units are unavailable).
NA
, zero and duplicate values are dropped.
1 | ehr_extract(ehr_data, read_codes)
|
ehr_data |
Data table/frame with UK Biobank clinical event data i.e.
|
read_codes |
Values are extracted from these codes. Data table/frame
with Read v2 ( |
Data table with value
and unit
columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.