Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper from_package to load package datasets #482

Open
dchiu911 opened this issue Jun 13, 2023 · 1 comment
Open

Add helper from_package to load package datasets #482

dchiu911 opened this issue Jun 13, 2023 · 1 comment

Comments

@dchiu911
Copy link

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.

@rich-iannone
Copy link
Member

This is a great idea! Will look into getting this implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants