-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
The episode on data can be expanded #80
Comments
From my notes: Data
Best done after documentation with roxygen, then document:
Save raw data in so load it with:
Exercise: add data to your packageflowchart LR
id1(Does the user need access?) --Yes--> id6(Store it in data/)
id3(Is the data in .Rda format?)--Yes--> id1
id1 --No, but tests do--> id5(Store it in tests/)
id1 --No, but functions do--> id4(Store it in R/sysdata.Rda*)
id3 --No--> id8(But can it be?)
id8 --Yes, with some work --> id9(Document the process in data-raw/**)
id8 --No, it shouldn't--> id7(Store it in inst/extdata)
Add data to your package:
|
Problem
The episode on data proved insufficient in our last teaching iteration.
Solution
@bvreede shared (privately) several suggestions on how to improve this. Incorporate them.
The text was updated successfully, but these errors were encountered: