Overview of tidyfast
mastertidyfast provides fast and efficient alternatives to certain tidyr and dplyr functions by using data.table under the hood.
Key characteristics:
- Prefixing: All functions use the
dt_prefix (e.g.,dt_nest()) to enable easy autocomplete in IDEs like RStudio. - Automatic Coercion: Any function that takes data as its first argument will automatically coerce the input to a
data.tableusingas.data.table()if it isn't one already. - Return Type: All functions return a
data.table. - Relationship to dtplyr: While
tidyfastcomplementsdtplyr, it does not use thelazy_dt()framework. Note that somedtplyrfunctionality may overlap withtidyfast. - Dependencies: The package imports
data.tableandcpp11.