CME | R Documentation |
Get data data from CME data API.
api_key
API KEY for CME
client_id
Client ID for CME
client_secret
Client secret ID for CME
token
Token we use to make requests
new()
Create a new CME object.
CME$new(api_key = NULL, client_id = NULL, client_secret = NULL)
api_key
API KEY for CME cloud data.
client_id
Client ID for CME cloud data.
client_secret
Client Secret for CME cloud data.
A new 'CME' object.
get_token()
Get CME token.
CME$get_token()
CME token.
retoken()
Refresh the authentication token if it's expired or missing.
CME$retoken()
fedwatch()
Get the current FedWatch forecasts with full API parameter support.
CME$fedwatch( meeting_date = NULL, reporting_date = NULL, limit = 10, remove_na_zero = TRUE )
meeting_date
Optional. Filter forecasts by specific meeting date in 'yyyy-mm-dd' format.
reporting_date
Optional. Filter forecasts by specific reporting date in 'yyyy-mm-dd' format.
limit
Optional. Limits the number of results returned. Default is 10.
remove_na_zero
Optional. Remove rows with NA or zero probability. Default is TRUE.
A list containing the FedWatch forecast data.
get_meetings_history()
Get historical meetings data from the CME FedWatch API.
CME$get_meetings_history(limit = 10)
limit
An integer specifying the number of records to retrieve. Default is 10.
A list containing the meetings history data.
fedwatch_history()
Get all history fedwatch data
CME$fedwatch_history()
data.table of lower and upper rates for mmeting dates and report dates
clone()
The objects of this class are cloneable with this method.
CME$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.