fleext: Create an on line file extension

Description Usage Arguments Value

Description

This function is fed information from the main function and the fleindex function. The function creates a url where macroeconomic data can be extracted from.

Usage

1
fleext(series, indx)

Arguments

series.

Series is a reference to a macroeconomic data series. At this point one of the series RGDP, CPI, Unemployment rate, or population.

indx.

This is a number used to extract information about a call to the FRED. indx is determined by the function fleindex.

Value

a url is returned that is used as the file extension to extract data from FRED.


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