OHDSI Home | Forums | Wiki | Github

Errors running Alts Estimation Study on SynPUF

Trying to run analysis on SynPUF i faced with unexpected error:
"Error in if (firstExposureOnly) { : argument is of length zero
Calls: runCmAnalyses … -> lapply -> FUN -> createStudyPopulation
Execution halted "
I looked through the code and find that argument “firstExposureOnly” used in
“createGetDbCohortMethodDataArgs” and “createCreateStudyPopulationArgs”
is FALSE.
Not sure whether it is connected with SynPUF structure (seems like INT type is used instead of DATE/TIME to fulfill start_date and end_date columns) or no.
What steps should I do to fix it?

t