View source: R/get_drugs_ndc.R
This function provides a dataframe with flags indicating if a patient has a medication or not. The flags are 1 which indicate patient had the medication or 0 which indicates patient did not. A missing flag means that the patient did not get any medication at all in the time frame specified. All arguments are strings
1 2 | get_drug_ndc(supermart, sandbox, cohort, drug_list_df, ndc_col,
grouping_col, index_col, date_condition)
|
supermart |
Name of the supermart where the data is stored. Eg. supermart_392 |
sandbox |
Name of the writable location usually sandbox where cohort is saved |
cohort |
Name of the cohort with explorys_patient_id's. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.