request_data: Data Crawler

View source: R/request_data.R

request_dataR Documentation

Data Crawler

Description

Data Crawler

Usage

request_data(
  startDate,
  endDate,
  type,
  company_symbol = NULL,
  adjustPeriod = FALSE
)

Arguments

startDate

The start date of the query. Date is a string that needs to be in yyyy-mm-dd format

endDate

The end date of the query. Date is a string that needs to be in yyyy-mm-dd format

type

this can only be "index" or "company" it determines how the data will be retrieved

company_symbol

Company Symbol number

adjustPeriod

This is logical term. If TRUE prices based on prior to adjustment.

Value

: data frame of the TASI index


Hussain-Alsalman/tasi documentation built on Sept. 7, 2024, 1:17 p.m.