Cleaning columns

vectorized if statement that checks conditionals and returns different outputs based on answer

if_else()

{dplyr}

rename columns

rename()

{dplyr}

match column names that contain string

contains()

{tidyselect}

compute on a data frame a row-at-a-time

rowwise()

{dplyr}

change column order

relocate()

{dplyr}

match column names that begin with string

starts_with()

{tidyselect}

keep specified columns

select()

{dplyr}

create or modify data columns

mutate()

{dplyr}

match column names that end with string

ends_with()

{tidyselect}

select all variables

everything()

{tidyselect}

conditionally set values across multiple conditions

case_when()

{dplyr}

apply transformation across multiple columns

across()

{dplyr}

The end!