ME_dtaextract: Extract Macroeconomic data

Description Usage Arguments Value Source Examples

Description

This function is given a single argument. The argement is a data macroeconomic data series that is pulled from the federal reserve bank of St. Louis (FRED).

Usage

1
ME_dtaextract(series)

Arguments

series

At this point series can be only one of four character strings, RGDP, Real Gross domestic product, CPI, consumer price index, uneploymentrate, the US civilian unemployment rate, and population, Total Population: All ages including Armed Forces Overseas.

Value

A dataframe is returned with a time-series for the given argument placed within the function. This data frame is ready to be plotted and shown to a macroeconomic class, for example.

Source

St. Louis Federal Reserve Bank data (FRED)

Examples

1
2
3
ME_dtaextract("RGDP")
ME_dtaextract("Unemploymentrate")
ME_dtaextract("Population")

greegreg/AdvancedR documentation built on May 24, 2019, 4:05 a.m.