-
Notifications
You must be signed in to change notification settings - Fork 565
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
Read data in Chapter 4 #595
Comments
For some reason, when I download the data using the function and then read it, the data looks so weird. I have to download manually |
I have the same issue |
@carehu My "non-fancy" solution was download manually the files, put them in a folder and then read the data from this new folder in order to follow the example in the book. |
Thank you! For products & population data I did like you explained and is working. But for the injuries data it still doesn't work. I have used the R.utils package to unzip the file and if I open the unzipped file in notepad it doesn't look like what is in the book. For now I think I will just skip the examples in this chapter. Thanks. library(R.utils) |
When you want to download NEISS data, the url of the repo doesn´t work.
I think that the url was update.
You need to put this url in order to fix the download function
download <- function(name){ url <- "https://github.com/hadley/mastering-shiny/tree/master/neiss/" download.file(paste0(url, name), paste0("neiss/", name), quiet = TRUE) }
The text was updated successfully, but these errors were encountered: