mrdwab / splitstackshape

R functions to split concatenated data, conveniently stack columns of data.frames, and conveniently reshape data.frames.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functions to add

mrdwab opened this issue · comments

  • move_me
  • dist2df
  • [.array
  • [.ftable
  • ftable2dt
  • dupe_thresh
  • list_unlister
  • make_me_NA
  • na_last (add a "row + col" option)
  • Riffle (but it needs a LOT of work and testing)
  • shifter, shuffler (?)
  • sort_ends (? -- How useful?)
  • tabulate_int (after modifying to work with factors/characters)
  • unlist_by_row/unlist_by_col
  • lwSplit (name?) for the act of splitting once to a "long" form and then again to a "wide" form? Eg: https://stackoverflow.com/q/49182838/1270695, https://stackoverflow.com/q/29120787/1270695

TODO:

  • cartesian_unlist() should be modified to include names from named list elements
  • move_me() should be modified to handle names with spaces, perhaps entered in a specific manner like either fenced with backticks like syntactically invalid names in R or << / >> or other fence.
  • Riffle needs a byrow argument for row-wise interleaving of data.