get_symbol: get_symbol

View source: R/get_symbol.R

get_symbolR Documentation

get_symbol

Description

Download data from FRED.

Usage

get_symbol(symbol)

Arguments

symbol

character denoting the symbol to download, e.g. "GDPC1" or "FEDFUNDS"

api_key

character specyfing the api key for FRED

Examples

get_symbol("GDPC1")
get_symbol("T10Y2Y")
c("FEDFUNDS", "GDPC1") |> map(get_symbol)

markushhh/FredApi documentation built on Dec. 13, 2024, 1:25 a.m.