Learn R Programming

⚠️There's a newer version (1.8.3) of this package.Take me there.

tidyfst (version 1.0.0)

Tidy Verbs for Fast Data Manipulation

Description

A toolkit of tidy data manipulation verbs with 'data.table' as the backend. Combining the merits of syntax elegance from 'dplyr' and computing performance from 'data.table', 'tidyfst' intends to provide users with state-of-the-art data manipulation tools with least pain. This package is an extension of 'data.table'. While enjoying a tidy syntax, it also wraps combinations of efficient functions to facilitate frequently-used data operations.

Copy Link

Version

Install

install.packages('tidyfst')

Monthly Downloads

677

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Tian-Yuan Huang

Last Published

September 8th, 2021

Functions in tidyfst (1.0.0)

group_by_dt

Group by variable(s) and implement operations
group_dt

Data manipulation within groups
impute_dt

Impute missing values with mean, median or mode
dummy_dt

Fast creation of dummy variables
join

Join tables
filter_dt

Filter entries in data.frame
longer_dt

Pivot data from wide to long
lead_dt

Fast lead/lag for vectors
rec

Recode number or strings
print_options

Set global printing method for data.table
sample_dt

Sample rows randomly from a table
replace_dt

Fast value replacement in data frame
rn_col

Tools for working with row names
pull_dt

Pull out a single variable
mat_df

Conversion between tidy table and named matrix
select_dt

Select column from data.frame
wider_dt

Pivot data from long to wide
utf8_encoding

Use UTF-8 for character encoding in a data frame
top_dt

Select top (or bottom) n rows (by value)
col_max

Get the column name of the max/min number each row
reexports

Objects exported from other packages
complete_dt

Complete a data frame with missing combinations of data
separate_dt

Separate a character column into two columns using a regular expression separator
intersect_dt

Set operations for data frames
arrange_dt

Arrange entries in data.frame
as_fst

Save a data.frame as a fst table
export_fst

Read and write fst files
object_size

Nice printing of report the Space Allocated for an Object
fst

Parse,inspect and extract data.table from fst file
nth

Extract the nth value from a vector
uncount_dt

"Uncount" a data frame
drop_na_dt

Dump, replace and fill missing values in data.frame
in_dt

Short cut to data.table
distinct_dt

Select distinct/unique rows in data.frame
mutate_when

Conditional update of columns in data.table
nest_dt

Nest and unnest
mutate_dt

Mutate columns in data.frame
relocate_dt

Change column order
unite_dt

Unite multiple columns into one by pasting strings together
sys_time_print

Convenient print of time taken
slice_dt

Subset rows using their positions
summarise_dt

Summarise columns to single values
rename_dt

Rename column in data.frame
t_dt

Efficient transpose of data.frame
count_dt

Count observations by group
cummean

Cumulative mean