darwin-eu-dev / DrugUtilisation

https://darwin-eu-dev.github.io/DrugUtilisation/
Apache License 2.0
3 stars 1 forks source link

deprecate arguments in generate drug cohorts functions #465 #467

Closed xihang-chen closed 1 week ago

xihang-chen commented 2 weeks ago

hey @catalamarti I think this is ready to be merged.

At the end I've put these at the beginning of the generateDrugUtilisationCohortSet()

priorObservation <- 0
cohortDateRange <- as.Date(c(NA, NA))

the relevant codes (like internal functions) for the other three arguments are deleted where appropriate.