Description Usage Arguments Value
View source: R/get_macro_data.R
Import market data from Quandl and or AlphaVantage
1 2 3 4 5 6 7 | get_macro_data(
tickers,
start_date,
end_date,
frequency = c("daily", "weekly", "monthly", "quarterly", "annual"),
adjusted = TRUE
)
|
tickers |
character vector of tickers where Quandl data is prefixed with Q- and AlphaVantage data is prefixed with AVST- for stocks and AVFX- for FX |
start_date |
start date |
end_date |
end date |
frequency |
string indicating the frequency of data to retrieve - one of daily, weekly, monthly, quarterly or annual |
adjusted |
logical indicating whether to retrieve adjusted prices where available |
a tbl_df with columns date, ticker, variable and value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.