This is a second post in a series of dplyr functions. It covers tools to manipulate your columns to get them the way you want them: this can be the calculation of a new column, changing a column into discrete values or splitting/merging columns.
I went through the entire dplyr
documentation for a talk last week about
pipes, which resulted in a few “aha!” moments. I discovered and
re-discovered a few useful functions, which I wanted to collect in a few
blog posts so I can share them with others.
This first post will cover ordering, naming and selecting columns, it covers the basics of selecting columns and more advanced functions like select_all()
, select_if()
and shortcuts like everything()
.