Update review data
Usage
update_review_data(
review_df,
latest_review_data,
common_vars = c("subject_id", "event_name", "item_group", "form_repeat", "item_name"),
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.
- common_vars
A character vector containing the common key variables.
- 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()
.