rate_to_xml: Convert streaming rate to XML for upload

rate_to_xmlR Documentation

Convert streaming rate to XML for upload

Description

Function to encode the data.table output of the TOU_to_streaming function into XML for upload to MIDAS.

Usage

rate_to_xml(DT)

Arguments

DT

data.table created by the TOU_to_streaming function

Value

An atomic character containing the rate data encoded as xml

Examples

holidays <- import_holidays(holiday_file)
DT <- TOU_to_streaming(holidays, tou_file, start_date, end_date)

rate_to_xml(DT)

stefwayland/cecmidas documentation built on Aug. 27, 2023, 2:36 p.m.