Steven Sanderson goes hunting for strings:
Today I want to discuss a common task in data manipulation: selecting columns containing a specific string. Whether you’re working with base R or popular packages like
stringr
,stringi
, ordplyr
, I’ll show you how to efficiently achieve this. We’ll cover various methods and provide clear examples to help you understand each approach. Let’s get started!
Click through for five examples across the three methods.