Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dropbox links broken #164

Open
akaEmma opened this issue Apr 26, 2018 · 2 comments
Open

Dropbox links broken #164

akaEmma opened this issue Apr 26, 2018 · 2 comments

Comments

@akaEmma
Copy link

akaEmma commented Apr 26, 2018

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!

@ksetdekov
Copy link

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

@bwperlstein
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants