View source: R/CleanColumnNames.R
modify_loop_name | R Documentation |
Many of the variables in RHoMIS are collected through a looping structure
modify_loop_name(column_name, loop_type)
column_name |
The individual column name to be changed |
loop_type |
What is the loop type e.g. "crop" |
Rpackage file: CleanColumnNames.R
Returns a single item for the new column name
column_name <- "SECTION_Crop_Productivity/crop_repeat[2]/crop_name"
loop_type <- "crop_repeat"
modified_name <- modify_loop_name(column_name, loop_type)
# Will return: "SECTION_Crop_Productivity/crop_repeat[2]/crop_name_2"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.