View source: R/transformations.R
implement_adjust_by_lisppp | R Documentation |
experimental
implement_adjust_by_lisppp(
file,
file_name,
database,
variable,
income_variable = NULL,
ppp_data = "lissyrtools"
)
file |
A list of LIS or LWS file |
file_name |
The name of the LIS or LWS file. |
variable |
A string with the name of the variable to which the adjustment should be applied. |
income_variable |
Defaults to NULL. Is only relevant for LWS files. If the file is LWS and 'income_variable = TRUE', the function will retrieve the deflator for the year in which the income data was collected. This might not be the same as the year when wealth variables were collected. |
ppp_data |
An optional file with the deflators. Should be in the same format as the tibble in 'lissyrtools::deflators'. If "lissyrtools" (default) the deflators are imported from the package internal data. |
To be used inside transform_adjust_by_lisppp().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.