Open edward-burn opened 1 month ago
@catalamarti should this be allowed?
Warning message: domain_id is present in both 'strata' and 'additional'. This will be an error in the next release.
domain_id
db <- DBI::dbConnect(RPostgres::Postgres(), dbname = Sys.getenv("CDM5_POSTGRESQL_DBNAME"), host = Sys.getenv("CDM5_POSTGRESQL_HOST"), user = Sys.getenv("CDM5_POSTGRESQL_USER"), password = Sys.getenv("CDM5_POSTGRESQL_PASSWORD")) cdm <- CDMConnector::cdm_from_con( con = db, cdm_schema = Sys.getenv("CDM5_POSTGRESQL_CDM_SCHEMA"), write_schema = c(schema = Sys.getenv("CDM5_POSTGRESQL_SCRATCH_SCHEMA"), prefix = "incp_"), achilles_schema = Sys.getenv("CDM5_POSTGRESQL_CDM_SCHEMA") ) asthma_cs <- list("asthma" = 317009) cdm$asthma <- CohortConstructor::conceptCohort(cdm = cdm, conceptSet = asthma_cs, name = "asthma") result_1 <- CodelistGenerator::summariseCohortCodeUse(asthma_cs, cdm = cdm, "asthma") result_2 <- CodelistGenerator::summariseOrphanCodes(asthma_cs, cdm = cdm) results <- omopgenerics::bind(result_1, result_2)
@catalamarti should this be allowed?
Warning message:
domain_id
is present in both 'strata' and 'additional'. This will be an error in the next release.