Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Would it be better if the default CSV reader was fread? #47

Open
markpurver opened this issue Mar 4, 2020 · 0 comments
Open

Would it be better if the default CSV reader was fread? #47

markpurver opened this issue Mar 4, 2020 · 0 comments

Comments

@markpurver
Copy link

This isn't a major issue as fread can be used within read_using, but fread is faster than read.csv and copes well with untidy CSVs (e.g. where the first row has fewer columns than the rest, which unfortunately occurs in downloads of SOP reports).

Both fread and read_csv are fast and apply similar default options to read_excel (e.g. trimming white space), but read_csv doesn't cope so well with untidy CSVs.

I realise either way it creates a dependency on another package, which may be better avoided.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant