create_url: Generate URL of Yahoo! Finance

Description Usage Arguments

View source: R/scrape_onefirm.r

Description

Generate URL of Yahoo! Finance

Usage

1
create_url(code, start_date, end_date, datatype, page)

Arguments

code

numeric. Specify a brand code

start_date

numeric. Specify the start date of the stock price data you want to acquire in the format of yyyymmdd.

end_date

numeric. Specify the end date of the stock price data you want to acquire in the format of yyyymmdd.

datatype

character. Specify the type of stock price data. If datatype = "d", get daily data. If datatype = "w", get weekly data. If 'datatype = "m", get monthly data.

page

numeric. Specify the page number of the stock price data you want to acquire.


KatoPachi/YahooFinance documentation built on Feb. 9, 2022, 3:22 p.m.