is_map: Check whether a rate part is a map.

Description Usage Arguments Value

View source: R/rateParser.R

Description

is_map checks whether the rate part contains a depends_on and a values clause. If it does, then it is a proper map.

Usage

1
is_map(rate_part)

Arguments

rate_part

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

Value

Boolean representing whether the rate part is a map.


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