Skip to content
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

Not able to download the dataset from Google drive #10

Open
amitycoolin opened this issue Dec 3, 2019 · 4 comments
Open

Not able to download the dataset from Google drive #10

amitycoolin opened this issue Dec 3, 2019 · 4 comments

Comments

@amitycoolin
Copy link

As recommended in the book I downloaded from GitHub R source file and when I execute them I get the following error message while downloading the data from Google drive.

Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Failed to open file C:\Users\amitk\OneDrive\Documents\statistics-for-data-scientists\data\state.csv.

I tried to find the solution for this error message but didn't get any luck. This is a humble request to kindly share the datasets so that I can practise the same.

@AlexIvamoto
Copy link

amitycoolin you can manual download csv data files from links at https://github.com/andrewgbruce/statistics-for-data-scientists and next manual create dir statistics-for-data-scientists in your home directory, then create dir data in statistics-for-data-scientists directory. Next move prev downloaded csv data files to statistics-for-data-scientists\data
And now, execute (in R)
PSDS_PATH <- file.path('~', 'statistics-for-data-scientists')

load for example, data from csv by
state <- read.csv(file.path(PSDS_PATH, 'data', 'state.csv'))

@mellamonaranja
Copy link

I got same issue but I solved it creating the folder called data, you don't need to download any file.
The issue is that this script tries to save the file in the folder which doesn't exist. So you need to create that folder.

@mojoee
Copy link

mojoee commented Oct 10, 2023

I also have trouble downloading the data with the script. I receive the error:

! Client error: (404) Not Found
File not found: 0B98qpkK5EJembFc5RmVKVVJPdGc.

@etrokal
Copy link

etrokal commented Jun 3, 2024

Same problem here. Anyone care to share the datasets in a different service? The book is kind of crippled without the datasets.

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

No branches or pull requests

5 participants