get_e10 | R Documentation |
Wrapper function for fetching data from gurufocus.com.
get_e10(df)
df |
data.frame. Data frame with column 'symbol' containing at least one valid stock ticker symbol. |
E10 is a main component used to calculate Shiller PE Ratio. If the month end stock price for this stock is zero, result may not be accurate due to the exchange rate between different shares and the data will not be stored into our database. Selected historical data showed in the calculation section below is only for demonstration purpose. E10 is a concept invented by Prof. Robert Shiller, who uses E10 for his Shiller P/E calculation. E10 is the average of the inflation adjusted earnings of a company over the past 10 years
Input data.frame supplemented by the company's available E10 data.
df <- data.frame('symbol' = 'AAPL') res <- get_e10(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.