Note: tidytable functions do not use data.table ’s modify-by-reference, and instead use the copy-on-modify principles followed by the tidyverse and base R.

Or install the development version from GitHub with:

Install the released version from CRAN with:

A full list of functions can be found here .

Group by calls are done from inside any function that has group by functionality (such as summarize.() & mutate.() )

tidyselect support

tidytable allows you to select/drop columns just like you would in the tidyverse.

Normal selection can be mixed with:

test_df <- data.table c 1 , 2 , 3 ), b = c 4 , 5 , 6 ), c = c "a" , "a" , "b" ), d = c "a" , "b" , "c" )) test_df %>% select. a , where ( is.character )) #> # tidytable [3 × 3] #> a c d #> <dbl> <chr> <chr> #> 1 1 a a #> 2 2 a b #> 3 3 b c

To drop columns use a - sign:

test_df %>% select. - a , - where ( is.character )) #> # tidytable [3 × 1] #> b #> <dbl> #> 1 4 #> 2 5 #> 3 6

These same ideas can be used whenever selecting columns in tidytable functions - for example when using count.() , drop_na.() , mutate_across.() , pivot_longer.() , etc.

A full overview of selection options can be found here.