pce_deflator: Retrieve annual Personal Consumption Expenditures deflator...

pce_deflatorR Documentation

Retrieve annual Personal Consumption Expenditures deflator ratio

Description

Applies PCE deflator to yield real values in specified dollar-year terms Helpful when comparing between separate surveys Requires [St. Louis Federal Reserve (FRED) API key](http://sboysel.github.io/fredr/articles/fredr.html#authentication)

Usage

pce_deflator(have_yr, want_yr)

Arguments

have_yr

existing dollar year basis

want_yr

dollar year to which you want the basis shifted

Author(s)

Michael Jensen


psrc/psrccensus documentation built on June 1, 2025, 1:06 p.m.