OHDSI / StudyProtocols

Repository of OHDSI Collaborative Research Protocols
37 stars 41 forks source link

Alendronate study code fails with 0 counts in patients #10

Open msuchard opened 7 years ago

msuchard commented 7 years ago
Constructing treatment and comparator cohorts
^M  |              
     ^M  |        
     |   0%^M  |  
                 ^M  |===================================
                 |  50%^M  |
                             ^M
|======================================================================|
100%
Executing SQL took 2.02 secs
Fetching cohorts from server
Error in data.frame(description = "Original cohorts", treatedPersons =
rawCount$exposedCount[rawCount$treatment ==  :
 arguments imply differing number of rows: 1, 0
Calls: execute ... FUN -> do.call -> getDbCohortMethodData -> data.frame
Execution halted
hyeyeonCho commented 5 years ago

Hi there, Have you fix that error? I am getting same error as you had and don't know how to fix it.

Thanks!