rstudio / rstudio/pointblank

Add helper `from_package` to load package datasets

Open
#482 1 comment 0 reactions 1 assignee View on GitHub

@rich-iannone is already working on this.

Since Jun 13, 2023.

Difficulty: [2] Intermediate Effort: [3] High Priority: [2] Medium Type: ★ Enhancement
Dominant language
R
Stars
1k
Forks
59
Avg merge
25m
Merged PRs (30d)
4

Description

Can we add a helper (e.g. from_package()) that would essentially load data in this regard:

data(dataset, package = "package_name")

I know the pipable way to do this (e.g. inside tbl_store()) would be package_name::dataset, but if we wanted to do this for github packages to get the most updated data that should be an option too. The function could wrap from_github() perhaps if we requested the get the remote version instead of local version of the package.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.