ed_fred: get economic data from FRED

Description Usage Arguments Examples

View source: R/ed_fred.R

Description

ed_fred provides an interface to access the economic data provided by FRED (https://fred.stlouisfed.org)

Usage

1
2
ed_fred(symbol = NULL, date_range = "10y", from = NULL,
  to = Sys.Date(), na_rm = TRUE, print_step = 1L)

Arguments

symbol

symbol of indicators in FRED, which is available via function ed_FRED_symbol or its website.

from

the start date. Default is '1776-07-04'.

to

the end date. Default is current system date.

print_step

A non-negative integer, which will print symbol name by each print_step iteration. Default is 1.

Examples

1
2
3
4
5
## Not run: 
dat = ed_fred(c("A191RL1A225NBEA", "GDPCA"))


## End(Not run)

ShichenXie/getpedr documentation built on Feb. 16, 2019, 5:47 a.m.