DataScienceSpecialization / courses

Course materials for the Data Science Specialization: https://www.coursera.org/specialization/jhudatascience/1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dropbox links broken

akaEmma opened this issue · comments

I can't download either of the dropbox files for the lecture. Here is what happens:

fileUrl1 = "https://dl.dropboxusercontent.com/u/7710864/data/reviews-apr29.csv"
fileUrl2 = "https://dl.dropboxusercontent.com/u/7710864/data/solutions-apr29.csv"
download.file(fileUrl1,destfile="./data/reviews.csv",method="curl")
Error in download.file(fileUrl1, destfile = "./data/reviews.csv", method = "curl") :
'curl' call had nonzero exit status
In addition: Warning message:
running command 'curl "https://dl.dropboxusercontent.com/u/7710864/data/reviews-apr29.csv" -o "./data/reviews.csv"' had status 127
download.file(fileUrl2,destfile="./data/solutions.csv",method="curl")
Error in download.file(fileUrl2, destfile = "./data/solutions.csv", method = "curl") :
'curl' call had nonzero exit status
In addition: Warning message:
running command 'curl "https://dl.dropboxusercontent.com/u/7710864/data/solutions-apr29.csv" -o "./data/solutions.csv"' had status 127

So I got rid of "curl" and tried again, with these results:

download.file(fileUrl1,destfile="./data/reviews.csv")
trying URL 'https://dl.dropboxusercontent.com/u/7710864/data/reviews-apr29.csv'
Error in download.file(fileUrl1, destfile = "./data/reviews.csv") :
cannot open URL 'https://dl.dropboxusercontent.com/u/7710864/data/reviews-apr29.csv'
In addition: Warning message:
In download.file(fileUrl1, destfile = "./data/reviews.csv") :
cannot open URL 'https://dl.dropboxusercontent.com/u/7710864/data/reviews-apr29.csv': HTTP status was '404 Not Found'
download.file(fileUrl2,destfile="./data/solutions.csv")
trying URL 'https://dl.dropboxusercontent.com/u/7710864/data/solutions-apr29.csv'
Error in download.file(fileUrl2, destfile = "./data/solutions.csv") :
cannot open URL 'https://dl.dropboxusercontent.com/u/7710864/data/solutions-apr29.csv'
In addition: Warning message:
In download.file(fileUrl2, destfile = "./data/solutions.csv") :
cannot open URL 'https://dl.dropboxusercontent.com/u/7710864/data/solutions-apr29.csv': HTTP status was '404 Not Found'

Please help. Thanks!

These files are available in this folder
But the dropbox links are broken.

The files are in the folder below, as mentioned above. (https://github.com/DataScienceSpecialization/courses/tree/master/03_GettingData/04_01_editingTextVariables/data)

However, to get the data in CSV format, I had to also do the following.

  1. Click on the listed file, which displays the output.
  2. Click on the tab "RAW"
  3. Copy the resulting URL for download.file.