Filtering text while reading data into R with fread

670 Views Asked by At

I have a large dataset and I wanted to read it in with fread, taking advantage of the select argument to only pick columns I need for this specific analysis. I was wondering if anyone knows a way that I could also filter a text column? something like dt %>% filter(str_detect(name, "Mary")) but in the fread function? Thanks.

0

There are 0 best solutions below