roux-ohdsi / allofus

R package to streamline use of the AllofUs researcher workbench
https://roux-ohdsi.github.io/allofus/
Other
12 stars 2 forks source link

aou_atlas_cohort not working unless generateStats = FALSE #19

Closed louisahsmith closed 2 months ago

louisahsmith commented 6 months ago

We should add a note in the documentation and in the example that when running ROhdsiWebApi::getCohortSql() to set generateStats = FALSE. Apparently, with some cohorts, there's some code in the inclusion stats that breaks aou_atlas_cohort().

cd_sql <- ROhdsiWebApi::getCohortSql(cd, "https://atlas-demo.ohdsi.org/WebAPI", generateStats = FALSE)