processSlots: Aggregate the slot data.

Description Usage Arguments Value

View source: R/getDataFromRdf.R

Description

processSlots gets slot data from a rdf list and aggregates it as specified.

Usage

1
processSlots(slotsAnnualize, rdf, rdfName)

Arguments

slotsAnnualize

A string vector with three entries. slotsAnnualize[1] is the slot to process. slotsAnnualize[2] is the aggregation method to use. slotsAnnualize[3] is the threshold or scaling factor to use. slotsAnnualize[4] is the variable name to use. If slotsAnnualize[4] is NA, then the variable name is constructed as slotsAnnualize[1]_slotsAnnualize[2]_slotsAnnualize[3].

rdf

The rdf list returned by read.rdf to get the slot data from.

rdfName

String of the rdf name.

Value

A data frame table with the aggregated slot data.


rabutler/RWDataPlot documentation built on May 26, 2019, 8:51 p.m.