get_codes | R Documentation |
Get (med/prod)codes from data
get_codes(
dataloc = "",
startdate = "1800-01-01",
enddate,
recs = NULL,
obsflag = T,
codelist
)
dataloc |
path to aurum data files |
startdate |
date to include observations / drug issues from |
enddate |
date to include observations / drug issues to |
recs |
observation or drug issue data if already in environment |
obsflag |
flag to indicate observation (T) or drug issue (F) |
codelist |
existing codelist (medcodes for obsevations, prodcodes for drug issues) |
data.table() of relevent codes
## Not run:
diag_obs_test <- get_codes(enddate = '2016-01-01', codelist = medcodelist)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.