fred_symbols | R Documentation |
This function returns a data for specified series from FRED.
fred_symbols(
symbols = c("DGS2", "DGS10", "DGS30"),
transformations = c("default"),
widen_data = F,
convert_date_time = TRUE,
nest_data = TRUE,
include_metadata = TRUE,
return_message = TRUE
)
symbols |
fred symbols to search, see FRED symbols for options |
transformations |
transformations |
widen_data |
if |
convert_date_time |
converts date from datetime to date form |
nest_data |
|
include_metadata |
if |
return_message |
if |
a tibble
Other index values:
crsp_indicies_returns()
,
msci_realtime_index_values()
,
nareit_annual_subsector_returns()
,
nareit_monthly_returns()
fred_symbols(symbols = c('DGS30','DGS10','DGS2'),
return_wide = TRUE, nest_data = FALSE)
fred_symbols(
symbols = c("CPIAUCSL", "A191RL1Q225SBEA", "UNRATE"),
convert_date_time = TRUE,
nest_data = TRUE,
include_metadata = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.