RDatasets.datasets(package_name) returns only one row

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
data

Research direction

Reproduce the reported Julia 1.0 examples for RDatasets.datasets("datasets") and RDatasets.datasets("mlmRev"). Inspect the implementation of datasets and determine why only one row is returned; done means both calls list all available datasets rather than a single row, with appropriate tests for the reported cases.

Written by the indexing model from the issue text.

Description

julia> RDatasets.datasets("datasets")
1×5 DataFrame
│ Row │ Package  │ Dataset │ Title                     │ Rows │ Columns │
├─────┼──────────┼─────────┼───────────────────────────┼──────┼─────────┤
│ 1   │ datasets │ BOD     │ Biochemical Oxygen Demand │ 6    │ 2       │

julia> RDatasets.datasets("mlmRev")
1×5 DataFrame
│ Row │ Package │ Dataset │ Title                               │ Rows  │ Columns │
├─────┼─────────┼─────────┼─────────────────────────────────────┼───────┼─────────┤
│ 1   │ mlmRev  │ Chem97  │ Scores on A-level Chemistry in 1997 │ 31022 │ 8       │

julia> versioninfo()
Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaStats/RDatasets.jl

All issues in JuliaStats/RDatasets.jl

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.