R/alpha_vant_auth.R

Defines functions alpha_vantage_auth

Documented in alpha_vantage_auth

#' Initialize API Query
#'
#' @param x
#'
#' @return sets an environmental variable that safely stores your API key. Should not appear in your environment.
#' @export
#'
#' @examples
alpha_vantage_auth = function(x) {
  Sys.setenv("auth_key" = as.character(x))
}
im2wddrf/AlphaVantageQuery documentation built on Nov. 4, 2019, 2:09 p.m.