I was going through some earlier post-
Quickest way to read a subset of rows of a CSV
One way to select subset of data is
write.csv(iris,"iris.csv")
fread("shuf -n 5 iris.csv")
However I was wondering if I can pass some SQL
query instead of top 5 rows e.g. only import those rows that have V6 = versicolor
Is there any way to do this using fread
function?