Some tables are returned as they are, with only raw data. Other tables are treated (importation of variables from other tables, generation of new variables) before the data frame is returned.

getPivotDataSet(
  setId = "",
  session,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL
)

Arguments

setId

String providing name of data set to be returned. One of the values "pros_patient" containing procedure and patient data or "rand12" containing data from rand12 questionnaire.

session

List shiny session object.

singleRow

Logical defining if only one row is to be returned.

reshId

Integer organization id

userRole

String dummy/placeholder role. "LC" has access only to local data (defined by reshId), "SC" has access to national data.

Value

data frame

Examples

if (FALSE) d_ablanor <- getPivotDataSet(setId = "pros_patient")
 # \dontrun{}