Skip to contents

Update review data

Usage

update_review_data(
  review_df,
  latest_review_data,
  key_cols = key_columns,
  edit_time_var = "edit_date_time",
  update_time = time_stamp()
)

Arguments

review_df

Data frame containing old review data that need to be updated.

latest_review_data

Data frame containing latest review data.

key_cols

A character vector containing the common key variables. Defaults to ClinSight key_columns().

edit_time_var

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

update_time

Time stamp given to rows with new rows that are added. Defaults to time_stamp().

Value

A data frame containing only the rows with updated review data.