currency.convert
provides a helper function to create a new
copy of an acs-class object with a modified currency.year and
converted dollar values without altering the original object. When
rate="auto"
(the default), currency.convert
will look up
values from the cpi
database to use in conversion. When a
numeric rate is provided through this option, actual cpi
values
are ignored. When verbose=T
, currency.convert will provide
additional information about the rates of conversion and the
acs.colnames converted.
As of version 2.0 the package includes CPI data from 1913 through
2015, allowing conversion of dollar values for any years in this
range.