Function to set study timeline

setStudyTimeline(
  status = "Started",
  startDate = as.character(lubridate::today()),
  endDate = as.character(lubridate::today() + (365 * 2))
)

Arguments

status

the study status, default is started

startDate

the start of the study, defaults to todays date

endDate

the date specifying the end (or expected end) of the study

Value

a list containing study timeline