Learn R Programming

fundManageR (version 0.5.02030319)

get_data_fred_symbols: Federal Reserve Economic Data time series data_frame

Description

This function returns a data for specified series from FRED.

Usage

get_data_fred_symbols(symbols = c("DGS2", "DGS10", "DGS30"),
  transformations = c("default"), convert_date_time = TRUE,
  nest_data = TRUE, return_wide = FALSE, return_message = TRUE)

Arguments

symbols

fred symbols to search, see FRED symbols for options

convert_date_time

converts date from datetime to date form

nest_data

TRUE return nested data frame

return_wide

TRUE return data in wide form

transformation

a transformation on the index values

  • default

  • change

  • change prior year

  • percent change

  • percent change prior year

  • compounded rate of change

  • continiously compounded rate of change

  • continiously compounded annual rate of change

  • natural log

  • index

Value

a data_frame

See Also

Other index values: get_data_crsp_indicies_returns, get_data_msci_realtime_index_values, get_data_nareit_annual_subsector_returns, get_data_nareit_monthly_returns

Examples

Run this code
# NOT RUN {
get_data_fred_symbols(symbols = c('DGS30','DGS10','DGS2'),
return_wide = TRUE, nest_data = FALSE)

get_data_fred_symbols(
symbols = c("CPIAUCSL", "A191RL1Q225SBEA", "UNRATE"),
return_wide = FALSE,
convert_date_time = TRUE,
nest_data = TRUE
)

# }

Run the code above in your browser using DataLab