get_company_records: Historical Data of a specified company for a specified...

View source: R/get_company_records.R

get_company_recordsR Documentation

Historical Data of a specified company for a specified period.

Description

Historical Data of a specified company for a specified period.

Usage

get_company_records(
  start_date,
  end_date,
  company_symbol,
  tidy = FALSE,
  use_cache = FALSE
)

Arguments

start_date

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

end_date

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

company_symbol

Company Symbol number

tidy

logical operator to return tibble cleaned up data frame

use_cache

logical operator for using cached data

Value

returns a data frame of company historical stock performance

Examples

#This will extract the historical stock records for ARAMCO for full year 2020
## Not run:
get_company_records("2020-01-01", "2020-12-31", 2222)
## End(Not run)

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