View source: R/cond_medcodes.R
cond_medcodes | R Documentation |
Conditions from medcodes
cond_medcodes(diag_obs, codelist, var_name, enddate)
diag_obs |
observation data |
codelist |
codelist of conditions |
var_name |
column to read conditions from in codelist |
enddate |
date to record conditions to |
data.table() of medcodes and conditions
## Not run:
cond_medcodes(diag_obs = diag_obs
, codelist = codelist, var_name = 'Colname', enddate = '2016-01-01')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.