tidytable helpers |
|
---|---|
Pipeable data.table call |
|
Fast |
|
dplyr |
|
Core dplyr verbs |
|
Arrange/reorder rows |
|
Filter rows on one or more conditions |
|
Add/modify/delete columns |
|
Select or drop columns |
|
Aggregate data using summary statistics |
|
Other dplyr functions |
|
Apply a function across a selection of columns |
|
Add a count column to the data frame |
|
Do the values from x fall between the left and right bounds? |
|
Bind data.tables by row and column |
|
Combine values from multiple columns |
|
Vectorized |
|
Case when |
|
Coalesce missing values |
|
Generate a unique id for consecutive values |
|
Count observations by group |
|
Context functions |
|
Cross join |
|
Descending order |
|
Select distinct/unique rows |
|
Convert a vector to a data.table/tidytable |
|
Grouping |
|
Selection helper for grouping columns |
|
Get the grouping variables |
|
Split data frame by groups |
|
Extract the first, last, or nth value from a vector |
|
Create conditions on a selection of columns |
|
Fast if_else |
|
Check if the tidytable is grouped |
|
Get lagging or leading values |
|
|
Join two data.tables together |
Add/modify columns by row |
|
Number of observations in each group |
|
Count the number of unique values in a vector |
|
Convert values to |
|
Nest data.tables |
|
Nest join |
|
Selection version of |
|
Pull out a single variable |
|
Relocate a column to a new position |
|
Rename variables by name |
|
Rename multiple columns |
|
Reframe a data frame |
|
|
Ranking functions |
Convert to a rowwise tidytable |
|
|
Choose rows in a data.table |
Add new variables and drop all others |
|
Rowwise tidytable creation |
|
tidyr |
|
Complete a data.table with missing combinations of data |
|
Create a data.table from all unique combinations of inputs |
|
Drop rows containing missing values |
|
Expand a data.table to use all combinations of values |
|
Create a data.table from all combinations of inputs |
|
Extract a character column into multiple columns using regex |
|
Fill in missing values with previous or next value |
|
Nest columns into a list-column |
|
Pivot data from wide to long |
|
Pivot data from long to wide |
|
Replace missing values |
|
Separate a character column into multiple columns |
|
Separate a collapsed column into multiple rows |
|
Split a string into rows |
|
Separate a character column into multiple columns |
|
Separate a character column into multiple columns using regex patterns |
|
Uncount a data.table |
|
Unite multiple columns by pasting strings together |
|
Unnest list-columns |
|
Unnest a list-column of vectors into regular columns |
|
Unnest a list-column of vectors into a wide data frame |
|
purrr |
|
|
Apply a function to each element of a vector or list |
reexportsThese functions are reexported from |
|
|
Objects exported from other packages |
tidytable constructorsA tidytable is simply a data.table with nice printing features. Note: All tidytable functions automatically convert data.frame/tibble inputs to a data.table/tidytable. |
|
Coerce an object to a data.table/tidytable |
|
Test if the object is a tidytable |
|
Create a tidytable from a list |
|
Build a data.table/tidytable |
|
Read/write files
|
|
Read/write files |