lookup_cpi: Fetch the CPI lookup table and use it to inflation-adjust...

Description Usage Arguments Value

View source: R/main.R

Description

This function works with magrittr pipes.

Usage

1
2
lookup_cpi(data, values, year = "year", base = "2016",
  replace_columns = TRUE, source = NULL)

Arguments

data

A data.frame to join to.

values

A single column name to be adjusteed or a vector of column names.

year

The name of a column containing data years.

base

The base year to adjust data to.

replace_columns

If TRUE, the original, unadjusted columns will be replaced.

source

A lookup_source or NULL to use the default.

Value

A tbl, or NULL if the table does not exist.


wireservice/lookupr documentation built on May 4, 2019, 6:32 a.m.