Deflation of welfare for group data
deflation.pipgd.RdDeflation of welfare for group data
Usage
# S3 method for class 'pipgd'
deflation(dt, cpi, ppp, pop, ...)Arguments
- dt
data.table of cleaned DLW survey from
wbpip_clean- cpi
Named numeric vector of CPI values (as returned by
pd_aux_attr()), or adata.tablefrompipload::pip_load_aux("cpi")for the legacy interface.NULLtriggers inventory-based loading.- ppp
Named numeric vector of PPP values (as returned by
pd_aux_attr()), or adata.tablefrompipload::pip_load_aux("ppp")for the legacy interface.NULLtriggers inventory-based loading.- pop
Named numeric vector of population values (as returned by
pd_aux_attr()), or adata.tablefrompipload::pip_load_aux("pop")for the legacy interface.NULLtriggers inventory-based loading.- ...
extra arguments