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

Including Link to Gapminder data in Setup or Extras #329

Open
cmaimone opened this Issue Dec 5, 2017 · 6 comments

Comments

Projects
None yet
5 participants
@cmaimone

cmaimone commented Dec 5, 2017

It would be very useful to have a link to the gapminder data for download included on the Setup section of the course site, or, if you don't want people downloading it beforehand, in at least the Extras section. Currently, this data is first downloaded during a Challenge in Episode 2, which an instructor may or may not actually do.

Everytime I go through this material, I have to search to find the link to the data, which sometimes I send to people to download ahead of time if there may be internet connection issues.

I'm happy to submit a PR adding the link the Extras section if this change is OK to make.

@naupaka

This comment has been minimized.

Member

naupaka commented Jan 8, 2018

Definitely would be great to add this to the Extras section. PR for that would be most welcome.

@cengel

This comment has been minimized.

Contributor

cengel commented Mar 8, 2018

This issue is still open, but I see that links to gapminder data seem to be in the Extras section under "Pulling in Data". One has to scroll down, so perhaps not that easy to find.

@naupaka

This comment has been minimized.

Member

naupaka commented Mar 9, 2018

Thanks for pointing that out @cengel. I think it's probably fine to have it in the Extras, but I also think it's time to remove the bit about

git remote add data https://github.com/resbaz/r-novice-gapminder-files
git pull data master

which is from the antecedent material that became these lessons. Would be better to have the materials be pulled directly from a carpentries repo.

@jcoliver

This comment has been minimized.

Collaborator

jcoliver commented Mar 9, 2018

Would it be possible to also have a good old fashioned URL, too? Even if it was shortened (like a tinyurl, oh, hey, look, there's one here: http://tinyurl.com/gapminder-five-year-csv), in case folks don't want to go the Git route...

@raynamharris

This comment has been minimized.

Contributor

raynamharris commented Jul 7, 2018

@jcoliver How would you instruct the user to get the data from http://tinyurl.com/gapminder-five-year-csv into R? Copy, paste, save, read? Or with something like:

library(data.table)
gapminder <- fread('http://tinyurl.com/gapminder-five-year-csv')
head(gapminder)
@jcoliver

This comment has been minimized.

Collaborator

jcoliver commented Jul 7, 2018

@raynamharris I'll usually have folks download the file by entering the URL into a browser window (and doing "Save as..." if not automatically prompted to save the file), but

download.file(url = "http://tinyurl.com/gapminder-five-year-csv", destfile = "data/gapminder-FiveYearData.csv")
gapminder <- read.csv(file = "data/gapminder-FiveYearData.csv")

should work, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment