parseCustomDataElementsForTemplate: parseCustomDataElementsForTemplate

Description Usage Arguments Value

View source: R/02-templating-class.R

Description

call custom data parsing, this will allow reports to specify the data structure they want available to the templates

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
parseCustomDataElementsForTemplate(reportData)

## S4 method for signature 'derivationchain'
parseCustomDataElementsForTemplate(reportData)

## S4 method for signature 'examplereport'
parseCustomDataElementsForTemplate(reportData)


  ## S4 method for signature 'timeseriessummary'
parseCustomDataElementsForTemplate(reportData)

Arguments

reportData

typed report json, the type should be the name of the report

Value

list of named data elements that should be available to your templates. Data will be placed in "reportData"


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.