View source: R/data_transformation.R
transform_data | R Documentation |
Transforms specific columns of a data.frame to match the requirements of the standard analysis model.
transform_data(
data,
reference_year,
usual_weekly_hours,
female_spec = "F",
male_spec = "M",
age_spec = NULL,
entry_date_spec = NULL
)
data |
a dataframe object as produced by |
reference_year |
a number indicating the reference year of the analysis |
usual_weekly_hours |
an optional numeric representing the usual weekly working hours |
female_spec |
a string or number indicating the way females are specified in the dataset. |
male_spec |
a string or number indicating the way males are specified in the dataset |
age_spec |
a string indicating the age specification, can be one of
|
entry_date_spec |
a string indicating the entry_date specification, can
be one of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.