bars_getv2: GET url with the v2 & polygon API

bars_getv2R Documentation

GET url with the v2 & polygon API

Description

GETs the API query for Polygon and Alpaca version 2 API's

Usage

bars_getv2(
  .url,
  v,
  evar = get0("evar", mode = "environment", envir = rlang::caller_env())
)

Arguments

.url

(character) The url to retrieve

v

(integer) The API version number.

evar

An environment that holds variable constants necessary for sub-functions.

Value

(tibble) data after retrieving all pages


jagg19/AlpacaforR documentation built on July 3, 2023, 12:14 p.m.