# \donttest{
library(dplyr, warn.conflicts = FALSE)
cdm <- mockOmopSketch()
result <- summariseInObservation(
cdm$observation_period,
interval = "months",
output = c("person-days","record"),
ageGroup = list("<=60" = c(0,60), ">60" = c(61, Inf)),
sex = TRUE
)
result |>
glimpse()
PatientProfiles::mockDisconnect(cdm)
# }
Run the code above in your browser using DataLab