Closed
Description
This line of code should drop columns that are "NA," helping us pivot from wide to long format in this gymnastics exercise trying to fill in missing levels of byvar // day_id :
travelSurveyTools/R/hts_prep_triprate.R
Line 202 in 1f3ff6b
This misses columns that are named EXACTLY NA, which can lead to errors. This line should read:
names(triprate_cast) %like% "_NA" | names(triprate_cast) == "NA"