cards icon indicating copy to clipboard operation
cards copied to clipboard

Add a column coalesce/renaming function?

Open ddsjoberg opened this issue 3 months ago • 1 comments

I was recently QCing a table using cards. I am using shuffle_ard() because I like the way it renames the grouping variables and makes one column out of two (easier on the eyes!).

For my purposes, it would have been nice to also similarly rename the variable/variable_level columns.

Can we add a utility to do this? The utility could be used in ard_shuffle() to do the group renaming.

@bzkrouse

ddsjoberg avatar Mar 22 '24 16:03 ddsjoberg

Proposals for function name:

  • rename_ard_columns()
  • consolidate_ard_column_names()

ddsjoberg avatar Mar 25 '24 18:03 ddsjoberg