I tried to use getDbCohortData function in CohortMethod package, but none of attempt succeed. The one most near success provide me the following error message
Error in UseMethod(“open”) :
no applicable method for ‘open’ applied to an object of class “data.frame”
This happen in using comparatorDrugConceptID process in getDbCohortData function, so no data can be generated use this function. Does anyone try this function in CohortMethod?
Thanks,