get_pe_ratio | R Documentation |
Wrapper function for fetching data from gurufocus.com.
get_pe_ratio(df)
df |
data.frame. Data frame with column 'symbol' containing at least one valid stock ticker symbol. |
The Price-Earnings Ratio calculated by the earnings divided by the market capitalization of a company.
Input data.frame supplemented by the company's available Price Earnings Ratio data.
df <- data.frame('symbol' = 'AAPL') res <- get_pe_ratio(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.