Skip to contents

R package · List utilities

Utility functions for common base-R problems with lists — characterise list types, split lists into equal groups, and unnest data frames within named lists.

Get started Browse the reference →

csutil logo

Highlights

01

List type predicates

A family of is_* functions tests whether every element in a list is named, NULL, a data frame, or a nested list — no manual looping required.

02

Equal-group splitting

easy_split() divides any vector into balanced chunks by specifying either the target size of each group or the total number of groups.

03

List unnesting

unnest_dfs_within_list_of_fully_named_lists() row-binds same-named data frames across a list of named lists into a single flat list.