rez_dfop: Perform an operation on a data.frame while updating field...

View source: R/rezrDF_tidy.R

rez_dfopR Documentation

Perform an operation on a data.frame while updating field access status.

Description

This is a wrapper for performing data frame manipulation functions (such as dplyr functions) while also updating field access status. Not ordinarily called by users; beginning users may stick to functions such as addFieldLocal, changeFieldForeign, rez_mutate, rez_left_join, which are much more simple and intuitive to use.

Usage

rez_dfop(df, .f, ..., fieldaccess = "flex", updateFunct = NA, oldNames = "")

Arguments

df

The data frame to be modified.

.f

The function to be performed.

...

Argument to be passed to .f.

fieldaccess

The field access status of the arguments.

updateFunct

A list of updateFunctions to be added.

oldNames

The names of the fields originally in the rezrDF AFTER the operation. If no fields will be renamed, leave blank.

Value

The DF after the operation.


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