design icon indicating copy to clipboard operation
design copied to clipboard

Functions that fabricate or repair column names

Open jennybc opened this issue 5 years ago • 3 comments

Inspired by this list made by @Hadley in early vctrs work, regarding type coercion across the tidyverse.

Functions where we create column names out of thin air or from inputs and could / should do so according to common principles. this list will grow as we stumble across these

  • tidyr::spread()
  • dplyr::inner_join() and friends
  • dplyr::summarise()
  • dplyr::mutate()
  • tidyr::gather()
  • tidyr::unnest()

jennybc avatar Dec 11 '18 16:12 jennybc

To add to this:

  • tidyr::separate()
  • tidyr::unite()

njtierney avatar Dec 12 '18 01:12 njtierney

  • dplyr::bind_cols() https://github.com/tidyverse/dplyr/issues/3772

romainfrancois avatar Dec 14 '18 11:12 romainfrancois

  • dplyr::select()
  • dplyr::rename()
  • dplyr::transmute()
  • tibble::rownames_to_column()
  • tibble::rowid_to_column()
  • dplyr::*_join()

krlmlr avatar Dec 15 '18 21:12 krlmlr

Duplicate of #101

hadley avatar Jul 20 '23 20:07 hadley