You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are including only one data set. This may obscure some questions, such as:
Do I need one documentation file in ./R per data set?
Does the file need to have the same name as the data set?
Does the file need to have the same name as the file where the data set is stored?
Solution
Store two data sets instead of one. One with the instructors names and another one with names from Star Wars. Document both from the same file, and name this file ./R/datasets.R.
The text was updated successfully, but these errors were encountered:
Another thought: instead of using data from instructors names, we can use e.g. the babynames package and sample it to get a list of names: sample(babynames::babynames$name, 100)
A fringe benefit is that we have another package that can be listed as a (suggested) dependency :)
Problem
We are including only one data set. This may obscure some questions, such as:
./R
per data set?Solution
Store two data sets instead of one. One with the instructors names and another one with names from Star Wars. Document both from the same file, and name this file
./R/datasets.R
.The text was updated successfully, but these errors were encountered: