View source: R/UpcomingEarningsAPI.R
| get_upcoming_earnings_data | R Documentation | 
This function retrieves upcoming earnings data from the API.
get_upcoming_earnings_data(
  api_token,
  from_date = NULL,
  to_date = NULL,
  symbols = NULL
)
api_token | 
 The API token for authentication.  | 
from_date | 
 Format: YYYY-MM-DD. The start date for earnings data, if not provided, today will be used.  | 
to_date | 
 Format: YYYY-MM-DD. The end date for earnings data, if not provided, today + 7 days will be used.  | 
symbols | 
 You can request specific symbols to get historical and upcoming data.  | 
A list containing the upcoming earnings data.
api_token <- "demo"
from_date <- "2017-09-10"
to_date <- "2017-09-12"
symbols <- "MS"
result <- get_upcoming_earnings_data(api_token, from_date, to_date, symbols)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.