get_data: Get Data

Description Usage Arguments Value

View source: R/get-data.R

Description

Retrieves data from either a .xlsx or Bloomberg API and returns a tibble

Usage

1
2
3
4
5
6
7
8
get_data(
  ticker,
  type = "Index",
  path = "data.xlsx",
  flds = "PX_LAST",
  start_date = "2000-01-01",
  names = NA
)

Arguments

ticker

character

type

character

path

character

flds

character

start_date

character

names

character

Value

A tibble with a datetime first column


davidallen02/pamngr documentation built on Sept. 2, 2021, 3:29 a.m.