posit-dev / posit-dev/btw

List data sets

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
137
Forks
10
Avg merge
10h 48m
Merged PRs (30d)
4

Description

Search for a datasets from a specific package

str(data(package = "dplyr"))
#> List of 4
#>  $ title  : chr "Data sets"
#>  $ header : NULL
#>  $ results: chr [1:5, 1:4] "dplyr" "dplyr" "dplyr" "dplyr" ...
#>   ..- attr(*, "dimnames")=List of 2
#>   .. ..$ : NULL
#>   .. ..$ : chr [1:4] "Package" "LibPath" "Item" "Title"
#>  $ footer : NULL
#>  - attr(*, "class")= chr "packageIQR"

Search for all available datasets

str(data())
#> List of 4
#>  $ title  : chr "Data sets"
#>  $ header : NULL
#>  $ results: chr [1:104, 1:4] "datasets" "datasets" "datasets" "datasets" ...
#>   ..- attr(*, "dimnames")=List of 2
#>   .. ..$ : NULL
#>   .. ..$ : chr [1:4] "Package" "LibPath" "Item" "Title"
#>  $ footer : chr "Use 'data(package = .packages(all.available = TRUE))'\nto list the data sets in all *available* packages."
#>  - attr(*, "class")= chr "packageIQR"

Contributor guide

Open the contributing guide

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.

Research direction

The issue names no repository file, test, or entry point. Start by locating the existing R-tool behavior related to dataset discovery, then compare it with data(package = "dplyr") and data(); done should define and test the requested dataset-listing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.