I created a function check_col_names() to compare a list of column names from a data frame being imported to a list of expected column names. However, I see there is a function janitor::compare_df_cols() to do a similar thing. Consider seeing if I can use compare_df_cols() instead.
I created a function
check_col_names()
to compare a list of column names from a data frame being imported to a list of expected column names. However, I see there is a functionjanitor::compare_df_cols()
to do a similar thing. Consider seeing if I can usecompare_df_cols()
instead.