Comments (12)
yea i think the order of figuring out what path to use should look something like:
data_ames(path = NULL)
- Use
path
if notNULL
- Use
modeldata.cache
if notNA
- Use global cache path into
<cache-path>/model-data/ames.rds
from modeldata.
We are doing all this in https://github.com/tidymodels/modeldatatoo
from modeldata.
https://github.com/emilhvitfeldt/textdata is an expanded version of what you are proposing. You are free to take bits and pieces as you need.
from modeldata.
Yea that looks great! I also didn't know rappdirs was an actual package. This will be helpful too
from modeldata.
yes rappdirs is gonna save you a lot of headaches
from modeldata.
Alternatively, gargle stores things in <os-home>/.R/gargle/gargle-auth
, with the additional opportunity to override this with a global option options("gargle_auth_cache" = <path>)
from modeldata.
Should have:
- A function to clean the cache
- A function to check if a data set is outdated
- Maybe create subfolders by package version?
- Provide a way to access the package version specific data if you have downloaded it in the past, even if you are on a higher version of the package (for reproducibility)
from modeldata.
should also have a way to overwrite the file path
from modeldata.
Perfect timing for some new data too. @trang1618
from modeldata.
Would pins be able to solve this problem as well?
from modeldata.
datastorr
looks perfect for this application.
from modeldata.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
from modeldata.
Related Issues (20)
- Release modeldata 0.1.0 HOT 1
- Title of "grants" data set is incorrectly labelled "Ames Housing Data" HOT 1
- Wrong linkage to tidymodels/tidymodels HOT 3
- Fix description of "grants" dataset HOT 2
- Release modeldata 0.1.1 HOT 2
- Release modeldata 0.1.1 HOT 2
- Add str(dataset) to all data sets HOT 1
- Move `master` branch to `main` HOT 2
- Multi class data set HOT 3
- Upkeep for modeldata HOT 1
- URL for rcompanion is currently bad HOT 1
- Release modeldata 0.2.0 HOT 2
- call `str(dataset)` in examples HOT 2
- Have data sets with character variables HOT 1
- Can't access to data sets using `::` HOT 5
- Release modeldata 1.0.0 HOT 1
- Release modeldata 1.0.0 HOT 1
- Release modeldata 1.0.1 HOT 1
- Release modeldata 1.1.0 HOT 1
- Upkeep for modeldata HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modeldata.