Description Usage Arguments Value
a function used to code antiotics, Biologics, Enteral.Steroids, en and ppi as yes, no, past use.
1 | convert_alex_database_med_1(medRaw, medName, period)
|
medRaw: |
a data frame that contains abx, Biologics, en, Enteral.Steroids, ppi information, contains ehb_id instead of nautilusid |
medName: |
the name of the medication variable |
period: |
used to define the current usage of that medication and the unit is days. for example, if period = 10, then the current usage will be defined as within 10 days (10 included) of the sample collect date |
medConverted: a data frame that contains yes or no, one column for one medication
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.