read_feather: Read and write feather files.
Description
Read and write feather files.
Usage
read_feather(path, columns = NULL, ...)write_feather(x, path, version = 1, ...)
Value
Both functions return a tibble/data frame. write_feather
invisibly returns x (so you can use this function in a pipeline).
Arguments
- path
Path to feather file
- columns
Columns to read (names or indexes), or a
tidy selection specification
of columns, as used in dplyr::select(). Default: Read all columns.
- ...
Additional arguments passed to the arrow:: functions
- x
A data frame to write to disk
- version
integer in c(1, 2) indicating the Feather format version to
write. For compatibility, the default for feather::write_feather() is
1.
Examples
Run this codemtcars2 <- read_feather(feather_example("mtcars.feather"))
mtcars2
Run the code above in your browser using DataLab