Title: | R Bindings to the Feather 'API' |
Version: | 0.3.5 |
Description: | Read and write feather files, a lightweight binary columnar data store designed for maximum speed. |
Encoding: | UTF-8 |
License: | Apache License 2.0 |
LazyData: | true |
URL: | https://github.com/wesm/feather |
BugReports: | https://github.com/wesm/feather/issues |
LinkingTo: | Rcpp |
Imports: | Rcpp, tibble (≥ 2.0.0), hms |
Suggests: | testthat |
SystemRequirements: | little-endian platform |
RoxygenNote: | 6.1.1 |
NeedsCompilation: | yes |
Packaged: | 2019-09-13 21:40:20 UTC; hadley |
Author: | Hadley Wickham [aut, cre], RStudio [cph], Feather developers [ctb] (Bundled feather library), Google [ctb] (Bundled flatbuffers code), LevelDB Authors [ctb] |
Maintainer: | Hadley Wickham <hadley@rstudio.com> |
Repository: | CRAN |
Date/Publication: | 2019-09-15 00:10:22 UTC |
Access a feather store like a data frame
Description
These functions permit using a feather dataset much like a regular (read-only) data frame.
Usage
feather(path)
Arguments
path |
Path to feather file |
Value
An object of class feather
Get path to feather example files
Description
feather_example
gets the path of a specific example
feather_examples
gets the path of all examples
Usage
feather_example(x)
feather_examples()
Arguments
x |
example file |
Retrieve metadata about a feather file
Description
Returns the dimensions, field names, and types; and optional dataset description.
Usage
feather_metadata(path)
Arguments
path |
Path to feather file |
Value
A list with class "feather_metadata".
Read and write feather files.
Description
Read and write feather files.
Usage
read_feather(path, columns = NULL)
write_feather(x, path)
Arguments
path |
Path to feather file |
columns |
Columns to read (names or indexes). Default: Read all columns. |
x |
A data frame to write to disk |
Value
Both functions return a tibble/data frame. write_feather
invisibly returns x
(so you can use this function in a pipeline).
Examples
mtcars2 <- read_feather(feather_example("mtcars.feather"))
mtcars2