KentonWhite / ProjectTemplate

A template utility for R projects that provides a skeletal project.
http://projecttemplate.net
GNU General Public License v3.0
623 stars 159 forks source link

Feature request: Add feather reader #237

Closed Hugovdberg closed 6 years ago

Hugovdberg commented 6 years ago

Report an Issue / Request a Feature

I'm submitting a (Check one with "x") :


Issue Severity Classification -

(Check one with "x") :

Expected Behavior

.feather files in the data/ directory are loaded in memory.

Current Behavior

.feather files are ignored.

Possible Solution
feather.reader <- function(data.file, filename, variable.name) {
    assign(variable.name, feather::read_feather(filename), envir = .TargetEnv)
}
rsangole commented 6 years ago

@Hugovdberg , any reason why we don't want to read feather files from cache/, or is it that conceptually, the "reader" functionality is being defined for the data/ folder?

KentonWhite commented 6 years ago

This is just setting on the feather reader. The cache feature is still being developed!

rsangole commented 6 years ago

Got it, thanks!