rez_validate_fieldchange: Validate a field change.

View source: R/rezrDF_mutate.R

rez_validate_fieldchangeR Documentation

Validate a field change.

Description

Not ordinarily called by users; it is automatically called by functions like changeFieldLocal, changeFieldForeign and rez_mutate. This function ensures that the fields in a DF you wish to change are actually a good idea to change. It produces an error if a primary key is among the fields you wish to change, and warnings otherwise. This is automatically called if you use a rezonateR-internal function such as rez_mutate.

Usage

rez_validate_fieldchange(
  df,
  changedFields,
  changingStatus = F,
  fieldaccess = ""
)

Arguments

df

The rezrDF you are planning to change.

changedFields

The fields you want to change.


johnwdubois/rezonateR documentation built on Nov. 19, 2024, 11:17 p.m.