Skip to content

Commit

Permalink
tbl_name
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Feb 28, 2024
1 parent 4aa2f88 commit e35efac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/summariseCohortOverlap.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ summariseCohortOverlap <- function(cohort,

# add cohort names
cdm <- omopgenerics::cdmReference(cohort)
name <- omopgenerics:::getTableName(cohort) # change to tableName when og is released
name <- attr(cohort, "tbl_name") # change to omopgenerics::getTableName(cohort) when og is released

cdm[[name]] <- PatientProfiles::addCohortName(cdm[[name]])

Expand Down

0 comments on commit e35efac

Please sign in to comment.