Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace variable_list with variables_dt throughout hts_summary_wrapper() #169

Open
ashleyasmus opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ashleyasmus
Copy link
Collaborator

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){

@ashleyasmus ashleyasmus added the bug Something isn't working label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant