Eliminate CSV dependency
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Inspect the package's CSV loading paths and dependency configuration, then compare their behavior with Julia's built-in DelimitedFiles, including compressed files. Done means the package no longer needs the CSV dependency while its datasets continue to load correctly; consider the stated RCall and alternative-reader tradeoffs before choosing an approach.
Written by the indexing model from the issue text.
Description
For this package all the CSV files are relatively small I think.
CSV is a heavy dependency, on startup. It pays off if you load large CSV files. I was thinking maybe you could rather use the really fast (built into Base), it seems even with compressed files:
julia> @time using DelimitedFiles
0.004993 seconds (1.15 k allocations: 82.234 KiB, 78.42% compilation time)
https://docs.julialang.org/en/v1/stdlib/DelimitedFiles/
A downside could be: If in all real-world code you would load CSV anyway, then not effective (but neither slower this way). Another option could be, this package if often (not always) used with RCall (what I'm looking into now). And plausibly then at least you could rather use CSV reading from R than Julia's CSV. Or Python's tool where appropriate.
- Dominant language
- R
- Stars
- 167
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaStats/RDatasets.jl
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
JuliaStats/RDatasets.jl#141 · 15 comments ·
-
dplyr datasets?Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
JuliaStats/RDatasets.jl#134 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
JuliaStats/RDatasets.jl#133 ·
-
Add flights dataOpen
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
JuliaStats/RDatasets.jl#128 ·
-
'dataset' suddenly stopped working with 'ISLR'Possibly taken @devmotion claimed this 2088 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
JuliaStats/RDatasets.jl#117 · 11 comments ·
All issues in JuliaStats/RDatasets.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hubverse-org/hubDevs#83 ·
-
data_bio2rarify - doc - dimensions wrongPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
leppott/BioMonTools#162 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
publications
Difficulty 1/5 Under an hour Newbie friendliness 85/100
epiforecasts/epiforecasts.github.io#161 ·
Maintainers usually reply within 1 day