datacarpentry / rr-intro

Introduction materials for Reproducible Research Curriculum
http://www.datacarpentry.org/rr-intro/
Other
10 stars 18 forks source link

Clarify use of and source for Gapminder data #7

Closed hlapp closed 9 years ago

hlapp commented 9 years ago

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?

iamciera commented 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.

hlapp commented 9 years ago

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")
jennybc commented 9 years ago

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.

mine-cetinkaya-rundel commented 9 years ago

@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

tracykteal commented 9 years ago

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?

dleehr commented 9 years ago

@tracykteal you're welcome! I'm working with the instructors to make materials available upon request, and will be managing it throughout the workshop

tracykteal commented 9 years ago

@dleehr awesome, that's great!

mine-cetinkaya-rundel commented 9 years ago

added data attribution to rr-intro readme as well