Skip to contents

General Messying Functions

Functions generally applicable to most dataframes.

add_special_chars()
Add special characters to strings
add_whitespace()
Add whitespaces
change_case()
Change case
change_separators()
Change separators
duplicate_columns()
Duplicate columns and insert them into the dataframe at random
duplicate_rows()
Duplicate rows and insert them into the dataframe in order or at random. May result in numbers being added to the end of row names.
make_missing()
Make missing
messy()
Messy
messy_colnames()
Make column names messy

Date(time) Messying Functions

Functions specifically geared towards messying POSIXCt and Date columns in dataframes.

messy_datetime_formats() messy_date_formats()
Make date(time) formats inconsistent
messy_datetime_tzones()
Change the timezone of datetime columns
split_datetimes() split_dates()
Splits date(time) column(s) into multiple columns

Dataframe Deconstructors

Functions which return multiple dataframes by undoing common data joining and binding operations.

unjoin()
Splits a dataframe into two, such that it could be reassembled with a mutating join
unrbind() uncbind()
Splits a dataframe row-wise or col-wise into any arbitrary number of dataframes