Skip to contents

Compares the latest edit date-times in the review database and in the data frame. If the provided data frame is newer, the database will be updated.

Usage

db_update(
  data,
  db_path,
  common_vars = c("subject_id", "event_name", "item_group", "form_repeat", "item_name"),
  edit_time_var = "edit_date_time"
)

Arguments

data

An updated data frame with review data.

db_path

Character vector. Path to the database.

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.

Value

Nothing will be returned.