Skip to content

Feature Request: Move data import of csv data to "readr" functions (part of "tidyverse") #255

@shainen

Description

@shainen

Right now, ProjectTemplate automatically imports csv files with read.csv (the default function for this kind of thing from the "utils" package). It does irritating things like convert spaces in column names to periods.

Included in the "tidyverse" is the "readr" package, which has nicer functions to import rectangular data. For csv, there is read_csv. Since there is already momentum to make ProjectTemplate inline the tidyverse, this seems worth doing.

I believe it is mostly accomplished by changing "read.csv" to "read_csv" in csv.reader.R, but there may be more to it.

Possible problem would be backwards compatibility for projects already started; using the new library would mean the names of data_frame's would be different (e.g. now spaces in original column names in csv would now be preserved).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions