eval_field_or_formula: Evaluate a field or formula.

Description Usage Arguments Value

View source: R/rateParser.R

Description

eval_field_or_formula evaluates a field or formula in the context of the provided dataframe.

Usage

1

Arguments

df

Data frame containing all data values referenced in field or formula.

name

Name of the rate part

rate_part

List representing a portion of a rate structure, defined in the OWRS file

Value

Either a single value or a vector the length of df. The result of evaluating a field or formula in the context of the dataframe.


California-Data-Collaborative/RateParser documentation built on May 6, 2019, 9:27 a.m.