Common API for tabular data backends

So my list of basic generic functions is the following (I am omitting ! versions that could possibly be considered):

  • Core
    • subset columns: select
    • add columns: mutate
    • compute new columns, dropping old: transform
    • subset rows: filter, first, last (all in Base)
    • sorting: sort (in Base)
  • Optional
    • remove duplicates: unique (in Base)
    • long2wide: stack
    • wide2long: unstack
    • joins: join
    • bind rows: vcat (in Base)
    • bind columns: hcat (in Base)
    • grouped transformation: by

Functions in Base are less problematic IMO.

4 Likes