fmt_table1
Given a dataset and the name of the 'by' variable, this function returns a
data frame with unique levels of the by variable, the by variable ID, a character
version of the levels, and the column name for each level in the fmt_table1
output data frame.
get_by_info(data, by)
data frame
character name of the by
variable found in data