Closed hlapp closed 9 years ago
We have in our readme:
We were discussing what to do with the datafile and as of now, it is in the root folder where the Rmarkdown report is because originally we were not covering multiple directories. We could use the package, but the students should be aware of how to input files, as their data will most likely never have a package. It would be easier to just install from CRAN though.... I am down for whatever.
If they install the files from a zip file, then the data file would hopefully be in place already, so hopefully this would not be difficult.
However, if they install the package, it's not a bad opportunity to show how one can publish a dataset with all stages of cleaning and massaging documented, and once installed they can use R to find out where the data file is:
gap_tsv <- system.file("gapminder.tsv", package = "gapminder")
I was about to add what @hlapp already did: yes you could enjoy the convenience of installing from CRAN but then use system.file()
to access a .tsv
. Perhaps even copy it into the local directory, then load explicitly via read.delim()
, just to make sure they are seeing this process.
@hlapp in the intro lesson they will be provided a csv file with the gapminder data, so that they can first use it with their existing tools as well
I was just putting together the zip files and a web site, but @dleehr did it already! https://github.com/Reproducible-Science-Curriculum/2015-05-14-duke-materials
Thanks @dleehr! Do folks want to check to make sure everything that's needed is there?
@tracykteal you're welcome! I'm working with the instructors to make materials available upon request, and will be managing it throughout the workshop
@dleehr awesome, that's great!
added data attribution to rr-intro readme as well
Organization1 uses the Gapminder data within R, possibly via @jennybc's gapminder package. (@iamciera - can you confirm what the plan is re: where the data will come from?) I thought the Intro lesson does, too, but am not sure, nor whether that would be within RStudio (and hence R) or outside. (@mine-cetinkaya-rundel - can you confirm?) If within R, could perhaps also be installed from CRAN package?