insightsengineering / cards

CDISC Analysis Results Data
https://insightsengineering.github.io/cards/
24 stars 0 forks source link

Add a column coalesce/renaming function? #213

Closed ddsjoberg closed 1 month ago

ddsjoberg commented 3 months ago

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 commented 3 months ago

Proposals for function name: