Learn R Programming

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

tidyfst (version 0.9.3)

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

0.9.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Tian-Yuan Huang

Last Published

March 24th, 2020

Functions in tidyfst (0.9.3)

mutate_when

Conditional update of columns in data.table
nest_dt

Nest and unnest
mutate_dt

Mutate columns in data.frame
drop_na_dt

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

Objects exported from other packages
relocate_dt

Change column order
group_dt

Data manipulation within groups
left_join_dt

Join table by common keys
sample_dt

Sample n rows from a table
distinct_dt

Select distinct/unique rows in data.frame
rename_dt

Rename column in data.frame
replace_dt

Fast value replacement in data frame
lead_dt

Fast lead/lag for vectors
summarise_dt

Summarise columns to single values
separate_dt

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

Convenient print of time taken
longer_dt

Pivot data from wide to long
select_dt

Select column from data.frame
export_fst

Read and write fst files
group_by_dt

Group by variable(s) and implement operations
pull_dt

Pull out a single variable
nth

Extract the nth value from a vector
set_dt

Fast operations of data.table by reference (I)
set_in_dt

Fast operations of data.table by reference (II)
t_dt

Efficient transpose of data.frame
top_dt

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

Pivot data from long to wide
uncount_dt

"Uncount" a data frame
slice_dt

Slice rows in data.frame
unite_dt

Unite multiple columns into one by pasting strings together
filter_dt

Filter entries in data.frame
cummean

Cumulative mean
fst

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

Fast creation of dummy variables
count_dt

Count observations by group
complete_dt

Complete a data frame with missing combinations of data
in_dt

Short cut to data.table
arrange_dt

Arrange entries in data.frame
as_fst

Save a data.frame as a fst table