Description Usage Arguments Value
View source: R/build_yahoo_url.R
construct URLs required to scrape relevant data from Yahoo Finance
1 2 3 4 5 6 | build_yahoo_url(
tickers,
type = c("price", "IS", "BS", "CFS"),
start_date = NULL,
end_date = NULL
)
|
tickers |
character vector of stock tickers following Yahoo Finance format i.e. JSE tickers have .JO suffix |
type |
character vector indicating which types of data you require. |
start_date |
start date for price data retrieval. Default NULL assumes no price data. |
end_date |
end date for price data retrieval. Default NULL assumes current date. |
tbl_df with cols ticker, page and url
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.