Skip to content

Commit 6a546ba

Browse files
committed
2 parents 60f6cf4 + 0b99090 commit 6a546ba

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Study/Analyses/characteristics.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if (run_characterisation == TRUE) {
3535
)
3636

3737
cdm$antibiotics_chars <- cdm$antibiotics_chars |>
38-
requireInDateRange(dateRange = c(as.Date("2022-01-01"), as.Date(NA)))
38+
requireInDateRange(dateRange = c(as.Date(study_start), as.Date(NA)))
3939

4040
results[["characteristics"]] <- cdm$antibiotics_chars |>
4141
summariseCharacteristics(cohortIntersectFlag = list(

Study/Cohorts/InstantiateCohorts.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@ if (run_incidence == TRUE) {
88
c(0, 150),
99
c(0, 4),
1010
c(5, 9),
11-
c(10, 19),
12-
c(20, 29),
11+
c(10, 14),
12+
c(15, 18),
13+
c(19, 29),
1314
c(30, 39),
1415
c(40, 49),
1516
c(50, 59),
1617
c(60, 69),
1718
c(70, 79),
1819
c(80, 150),
19-
c(0, 19),
20-
c(20, 64),
20+
c(0, 18),
21+
c(19, 64),
2122
c(65, 150)
2223
),
2324
cohortDateRange = study_period,

0 commit comments

Comments
 (0)