Add helper `from_package` to load package datasets
Open
@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
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.
Assessment
This issue has not been assessed yet.