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,
  key_cols = key_columns,
  edit_time_var = "edit_date_time"
)

Arguments

data

An updated data frame with review data.

db_path

Character vector. Path to the database.

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.

Value

Nothing will be returned.