inst/doc/using-collections.R

## -----------------------------------------------------------------------------
available_collections <- yfR::yf_get_available_collections(
  print_description = TRUE
  )

available_collections

## ---- eval=FALSE--------------------------------------------------------------
#  library(yfR)
#  
#  # be patient, it takes a while
#  df_yf <- yf_collection_get("SP500")
#  
#  head(df_yf)

Try the yfR package in your browser

Any scripts or data that you put into this service are public.

yfR documentation built on Feb. 16, 2023, 9:47 p.m.