eco.transform: Apply common economic transformations to entire dataset

View source: R/eco.transform.R

eco.transformR Documentation

Apply common economic transformations to entire dataset

Description

Transform economic dataset with a selected number of available transformations

Usage

eco.transform(df, transformation, lags, index.date)

Arguments

df

Dataframe containing economic data (Required)

transformation

Transformation to apply: ' \itemlagsSelect the number of lags to apply \itemindex.dataInput a date for the index transformation

Returns a preformatted dataframe with the given economic data. https://research.stlouisfed.org/docs/api/fred/ soloemoon@gmail.com

t.data <-eco.download(c('UNRAte','PAYEMS'), c('UE','Payrolls'), show.recession = 'n', time.series = 'n') t <-eco.transform(df = t.data, transformation = ' datasets


soloemoon/ecoMoon documentation built on Oct. 7, 2022, 9:59 a.m.