Skip to contents

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

Michael Jensen