View source: R/scrape_ownership_fig.R
scrape_ownership_fig | R Documentation |
Function for fetching data from gurufocus.com.
scrape_ownership_fig(df, url, pfx, xpath_txt, xpath_tbl)
df |
data.frame. Data frame with a column 'symbol' containing at least one valid stock ticker symbol. |
url |
String. The Uniform Resource Locator of the resource of interest. |
pfx |
String. Prefix for column names of scraped data sets. |
xpath_txt |
String. The XML path to a text element of interest. |
xpath_tbl |
String. The XML path to a table element of interest. |
The input data frame supplemented by a company's respective key figure value of the last five fiscal years plus current years TTM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.