parse_rfr_to_df {eiopaR} | R Documentation |
This function is used to parse data received from the API into data.frame.
parse_rfr_to_df(resp)
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. |
A list of class "eiopa_rfr", with at least the following components:
a data.frame containing the risk-free rate curves.
a data.frame containing metadata about the risk-free rate curves.