powered by
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" )
a data frame with earnings data
the start date in yyyy-mm-dd format (default is 10 days prior to current date)
the end date in yyyy-mm-dd format (default is the current date)
the country from which to get earnings data (default is United States)
Vyacheslav Arbuzov
getEarnings(from = Sys.Date(),to = Sys.Date()+5,country='Belgium')
Run the code above in your browser using DataLab