get_drug_ndc: Get a dataset with flags indicating if patient has a...

Description Usage Arguments

View source: R/get_drugs_ndc.R

Description

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

Usage

1
2
get_drug_ndc(supermart, sandbox, cohort, drug_list_df, ndc_col,
  grouping_col, index_col, date_condition)

Arguments

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.


aminyakubu/explorys documentation built on Dec. 13, 2020, 4:40 a.m.