if (FALSE) { # requireNamespace("RSQLite", quietly = TRUE) && file.exists("sp500.db")
# \donttest{
mixed <- load_mixed_symbols(
db_path = "sp500.db",
symbols = c("AAPL", "MSFT", "VIX"),
start_date = "2020-01-01",
end_date = "2020-12-31",
frequency = "weekly"
)
head(mixed)
# }
}
Run the code above in your browser using DataLab