79137017

Date: 2024-10-29 11:37:08
Score: 1.5
Natty:
Report link

Building off the accepted answer from @Joris C., @Nakx asked me to make this an answer. I wanted to use it in a dplyr chain, and did so by slightly modifying:

%>% add_column(!!!cols[!names(cols) %in% names(.)])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Joris
  • User mentioned (0): @Nakx
  • Low reputation (0.5):
Posted by: Chris Umphlett