Updates a specific field value for a record and logs the change in the change log file.
Examples
if (FALSE) { # \dontrun{
data <- data.frame(embrace_id = c("001", "002"), value = c(10, 20))
log <- data.frame(ChangeID = integer(), RecordID = character(),
Field = character(), OldValue = character(),
NewValue = character(), ChangeDate = as.Date(character()),
Reason = character())
log <- update_record(data, log, "001", "value", 15, "Correction")
} # }