R/ls_apply_script_bits.R
ls_apply_script_bits.Rd
This function applies specific code bits from the LimeSurvey data
import R script, read by ls_parse_data_import_script()
, for example
to update variable names, set labels, etc.
The dataframe.
The object returned by the call
to ls_parse_data_import_script()
.
Whether to set variable names or labels, or convert to character or factor, using the code isolated using the specified regular expression.
Which variables (specified using LimeSurvey variable names) are considered categorical questions; for these, the script to convert the variables to factors, as extracted from the LimeSurvey import file, is applied.
Whether to convert all variables to numeric
using massConvertToNumeric
.
Whether to be silent or verbose ('chatty').
Whether to make labels sticky (requires the sticky
package).
The dataframe.