Learn R Programming

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

tidyfst (version 1.7.1)

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.7.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Tian-Yuan Huang

Last Published

August 16th, 2022

Functions in tidyfst (1.7.1)

filter_dt

Filter entries in data.frame
impute_dt

Impute missing values with mean, median or mode
in_dt

Short cut to data.table
lead_dt

Fast lead/lag for vectors
longer_dt

Pivot data from wide to long
print_options

Set global printing method for data.table
pull_dt

Pull out a single variable
fst

Parse,inspect and extract data.table from fst file
%notin%

Not in operator
join

Join tables
drop_na_dt

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

Group by variable(s) and implement operations
pairwise_count_dt

Count pairs of items within a group
export_fst

Read and write fst files
separate_dt

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

Mutate columns in data.frame
pkg_load

Load or unload R package(s)
intersect_dt

Set operations for data frames
replace_dt

Fast value replacement in data frame
nth

Extract the nth value from a vector
object_size

Nice printing of report the Space Allocated for an Object
group_dt

Data manipulation within groups
unite_dt

Unite multiple columns into one by pasting strings together
reexports

Objects exported from other packages
summarise_dt

Summarise columns to single values
rec

Recode number or strings
sys_time_print

Convenient print of time taken
slice_dt

Subset rows using their positions
utf8_encoding

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

Select column from data.frame
sql_join

Case insensitive table joining like SQL
sample_dt

Sample rows randomly from a table
rn_col

Tools for working with row names
nest_dt

Nest and unnest
uncount_dt

"Uncount" a data frame
rename_dt

Rename column in data.frame
t_dt

Efficient transpose of data.frame
top_dt

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

Change column order
mutate_when

Conditional update of columns in data.table
mat_df

Conversion between tidy table and named matrix
wider_dt

Pivot data from long to wide
complete_dt

Complete a data frame with missing combinations of data
as_fst

Save a data.frame as a fst table
distinct_dt

Select distinct/unique rows in data.frame
dummy_dt

Fast creation of dummy variables
col_max

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

Count observations by group
cummean

Cumulative mean
arrange_dt

Arrange entries in data.frame
percent

Add percentage to counts in data.frame