Open PabRod opened 2 years ago
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
.