set_var_params.Rd
Configures variable-specific parameters and applies necessary transformations to the dataset based on the variable of interest. This includes defining numerator/denominator columns, computing derived metrics when needed, filtering, and restructuring the repository.
set_var_params(varname, repo)
A named list containing:
Human-readable name for the variable
Name of the denominator column
Name of the numerator column
Name of the percentage column (or NULL
if not applicable)
Logical flag indicating whether to exclude unknown insecticide data
(Optional) Transformed repository data.frame
for HBI and other derived variables