build_yahoo_url: construct URLs required to scrape relevant data from Yahoo...

Description Usage Arguments Value

View source: R/build_yahoo_url.R

Description

construct URLs required to scrape relevant data from Yahoo Finance

Usage

1
2
3
4
5
6
build_yahoo_url(
  tickers,
  type = c("price", "IS", "BS", "CFS"),
  start_date = NULL,
  end_date = NULL
)

Arguments

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.

Value

tbl_df with cols ticker, page and url


ces0491/companyDataScrapeR documentation built on July 19, 2021, 7:31 p.m.