Learn R Programming

tidyplus

Introduction

tidyplus provides functions such as str_crush(), add_missing_column(), coalesce_data() and drop_na_all() that complement ‘tidyverse’ functionality or functions that provide alternative behaviors such as if_else2() and str_detect2().

Installation

You can install the development version of tidyplus from GitHub with:

# install.packages("devtools")
devtools::install_github("poissonconsulting/tidyplus")

Code of Conduct

Please note that the tidyplus project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('tidyplus')

Monthly Downloads

257

Version

0.2.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Ayla Pearson

Last Published

January 24th, 2025

Functions in tidyplus (0.2.0)

str_to_snake_case

Converts strings to Snake Case
str_replace_vec

String replace multiple strings
unite_str

Unite multiple character columns into one
only

Extract the only distinct value from a vector
if_else2

Vectorised if else.
duplicates

Keep non-unique rows in a data frame
str_crush

Remove whitespace from a string
collapse_comments

Collapse Comments
add_missing_column

Add missing columns to a data frame
drop_na_all

Drop rows containing all missing values
drop_uninformative_columns

Drop uninformative columns from a data frame
replace_na_if

Conditional replacement of NAs with specified values
coalesce_data

Coalesce Data
summarise2

Summarise Each Group Down to One Row
tidyplus-package

tidyplus: Additional 'tidyverse' Functions
str_detect2

Detect the presence/absence of a match