save_rate: Save JSON or XML encoded rate or JSON encoded holiday to a...

save_rateR Documentation

Save JSON or XML encoded rate or JSON encoded holiday to a file

Description

Function to save JSON or XML encoded rate to a file. This also works to save encoded holidays to a file. If the file already exists, it will be overwritten with a warning.

Usage

save_rate(encoded_rate, file_name)

Arguments

encoded_rate

atomic character created by rate_to_xml or rate_to_json

file_name

atomic character with the path where you want to save the file


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