parse_rfr_to_df: Parse the risk free rates API response into a dataframe

Description Usage Arguments Value

View source: R/eiopaR.R

Description

This function is used to parse data received from the API into data.frame.

Usage

1

Arguments

resp

A response from the API (status 200, type/JSON). The response should have a "data" keyword with the value of an array containing the risk free rates.

Value

A list of class "eiopa_rfr", with at least the following components:

data

a data.frame containing the risk-free rate curves.

metadata

a data.frame containing metadata about the risk-free rate curves.


eiopaR documentation built on May 31, 2021, 9:10 a.m.