getEarnings | R Documentation |
This function retrieves earnings data from the investing.com website for a specified time period
getEarnings(
from = Sys.Date() - 5,
to = Sys.Date() + 5,
country = "United States"
)
from |
the start date in yyyy-mm-dd format (default is 10 days prior to current date) |
to |
the end date in yyyy-mm-dd format (default is the current date) |
country |
the country from which to get earnings data (default is United States) |
a data frame with earnings data
Not for the faint of heart. All profits and losses related are yours and yours alone. If you don't like it, write it yourself.
Vyacheslav Arbuzov
getEarnings(from = Sys.Date(),to = Sys.Date()+5,country='Belgium')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.