Skip to content

Replace variable_list with variables_dt throughout hts_summary_wrapper() #169

@ashleyasmus

Description

@ashleyasmus

hts_summary_wrapper is grabbing the variable_list that is loaded automatically when the package loads (I don't like that this happens, see #167). Easy fix here, just replace variable_list with variables_dt:

variables_dt = variable_list,
trip_name = trip_name,
day_name = day_name,
ids = id_cols,
wts = wt_cols,
remove_outliers = remove_outliers,
threshold = threshold,
weighted = weighted,
hts_data = data
)
}
# If a checkbox variable use checkbox for summarize_vartype
if (variable_list[shared_name == summarize_var, .N] > 1){

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions