Shiny modules for Smertereg at Rapportket

defaultReportInput(
  id,
  startDate = lubridate::today() - lubridate::years(1),
  endDate = lubridate::today() - lubridate::weeks(1),
  min = "1980-01-01",
  max = "2100-01-01"
)

defaultReportUI(id)

defaultReportServer(id, reportFileName, reportParams)

defaultReportServer2(id, reportFileName, reportParams)

defaultReportApp()

Arguments

id

Character string with module id (namespace).

startDate

Character string of the form YYYY-MM-DD or Date object providing start date. Default is one year ago.

endDate

Character string of the form YYYY-MM-DD or Date object providing end date. Default is today minus one week.

reportFileName

Character string providing basename of the file representing the report template. Such templates must be placed directly under the inst directory of the package.

reportParams

A named list of parameters that will be used by the report template.

Value

Shiny object