knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

fstplyr

Travis-CI Build Status Coverage status CRAN status

Provides a simple yet complete dplyr interface to fst files. Currently only select() and head() make use of fst's superior performance, all other methods offload to the default data frame implementation. The data is always returned as a tibble.

Example

path <- tempfile()
dir.create(path)
fst::write_fst(iris, file.path(path, "iris.fst"))
fst::write_fst(mtcars, file.path(path, "mtcars"))

library(fstplyr)
src <- src_fst(path)
src
tbl(src, "mtcars") %>%
  select(mpg:wt, -drat, gear)

Installation

# install.packages("remotes")
remotes::install_github("krlmlr/fstplyr")


krlmlr/fstplyr documentation built on Oct. 17, 2020, 4:58 a.m.