-
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
Broken link to Neiss dataset #588
Comments
change link to "https://raw.githubusercontent.com/hadley/mastering-shiny/main/neiss/" |
I think "https://github.com/hadley/mastering-shiny/tree/main/neiss/" is the correct link but even after using that, I can't seem to use the code listed to open those files. The tsv files look like html or something like that as opposed to a tsv file. Is anyone else experiencing this? |
I have the same issue as @MathGorilla. Even after updating the link to https://github.com/hadley/mastering-shiny/tree/main/neiss/. The vroom runs into errors about delim. I tried a few different delim options such as "\t" and " ". It does not read in the data as you show in the ebook (https://mastering-shiny.org/basic-case-study.html) as copied below. products <- vroom::vroom("neiss/products.tsv") |
Yes. I’m just going to try to get the files from the neiss package: # install.packages("devtools") |
I think that the reason that the tsv files are not as expected is that the link you are using has changed 'raw' to 'tree', as well as 'master' to 'main'. When using curl to download the raw data you need to use the url with raw in the path. In this case "https://github.com/hadley/mastering-shiny/raw/main/neiss/" works for me. |
On the following page there is a link in the code:
The link is broken.
It should be:
https://github.com/hadley/mastering-shiny/tree/main/neiss
Not
https://github.com/hadley/mastering-shiny/raw/master/neiss/
.Additionally,
injuries <- vroom::[vroom](https://vroom.r-lib.org/reference/vroom.html)("neiss/injuries.tsv.gz")
doesn't read in correctly.The text was updated successfully, but these errors were encountered: