View source: R/ReformatLoops.R
insert_gender_columns_in_core_data | R Documentation |
Splitting a particular column in the RHoMIS data by the genders groups which control that resource
insert_gender_columns_in_core_data(
data,
original_column,
control_column,
loop_structure = F,
gender_control_categories = pkg.env$gender_categories
)
data |
The original data set containing the numeric data and the gender control column used to split it |
original_column |
The original numeric column which needs to be split by gender |
control_column |
The column indicating the groups which are controlling a resource. Must include the values "male_adult","female_adult" etc... |
loop_structure |
Indicating whether or not the controlled resource is located within a loop structure. So far all gender control columns are located within this looping structure |
gender_control_categories |
The gender control categories included in the survey. |
Rpackage file: ReformatLoops.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.