STAT545-UBC / Discussion

Public discussion
38 stars 20 forks source link

hw07: downloading my own file #411

Open ksedivyhaley opened 7 years ago

ksedivyhaley commented 7 years ago

I'd like to use some of my own data for this pipeline, but that means that in order to practice the "download" part of the pipeline I first need to get my data in a place I can download it from.

I tried downloading a file from elsewhere in my class repo but got the error message:

Error in download.file("https://github.com/STAT545-UBC/sedivy-haley_katharine/blob/master/hw06_FunctionsNesting/data/test.csv", : cannot open URL 'https://github.com/STAT545-UBC/sedivy-haley_katharine/blob/master/hw06_FunctionsNesting/data/test.csv' In addition: Warning message: In download.file("https://github.com/STAT545-UBC/sedivy-haley_katharine/blob/master/hw06_FunctionsNesting/data/test.csv", : cannot open URL 'https://github.com/STAT545-UBC/sedivy-haley_katharine/blob/master/hw06_FunctionsNesting/data/test.csv': HTTP status was '404 Not Found' Execution halted make: [data.csv] Error 1 make: Deleting file `data.csv'

I'm guessing that the privacy settings of the repo prevent me from downloading this file?

Is there a good way to get this file into an accessible place? (I've tried publishing it from google docs but it's having a hard time opening the file for some reason.) Or should I skip the download step and just refer to a file on my computer?

jennybc commented 7 years ago

Putting it in a public GitHub repo or even a Gist would be the easiest.