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
)

Arguments

symbols

fred symbols to search, see FRED symbols for options

transformations

transformations

widen_data

if TRUE widens data

convert_date_time

converts date from datetime to date form

nest_data

TRUE return nested data frame

include_metadata

if TRUE returns meta data from time series

return_message

if TRUE return message

Value

a tibble

See also

Examples

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
)