Skip to contents

Create a data frame containing all data to be reviewed. Selects the latest edit date-time for every event/item.

Usage

get_review_data(
  data,
  key_cols = key_columns,
  date_var = "event_date",
  edit_time_var = "edit_date_time"
)

Arguments

data

A data frame, commonly raw data merged with meta data.

key_cols

A character vector with the common key variable column names. Assumes that these variables can identify a unique data point that needs to be reviewed. Defaults to ClinSight key_columns().

date_var

A character vector with the name of the date column.

edit_time_var

A character vector with the name of the edit date-time column.

Value

A data frame with review data.