I want to use for a large dataset the fst_table function from the package "fstpackage" found here: https://github.com/fstpackage/fsttable.
devtools::install_github("fstpackage/fsttable")
library(fsttable)
nr_of_rows <- 1e6
x <- data.table::data.table(X = 1:nr_of_rows, Y = LETTERS[1 + (1:nr_of_rows) %% 26])
fst::write_fst(x, "1.fst")
ft <- fst_table("1.fst")
I can extract rows and columns of the created file, however, is it possible to do operations like:
ft[X == 1,]
as in a standard data.table? or can I create a key of this data.table for fast serialization? My goal with this is to extract data using values of the columns without loading all the dataset into the memory.