Git Product home page Git Product logo

Comments (5)

JohnCost avatar JohnCost commented on September 27, 2024 3

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?

Yes. Iā€™m just going to try to get the files from the neiss package: # install.packages("devtools") devtools::install_github("hadley/neiss")

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.

from mastering-shiny.

SprengelLeo avatar SprengelLeo commented on September 27, 2024

change link to "https://raw.githubusercontent.com/hadley/mastering-shiny/main/neiss/"

from mastering-shiny.

pstevens-hawk avatar pstevens-hawk commented on September 27, 2024

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?

from mastering-shiny.

jialinx007 avatar jialinx007 commented on September 27, 2024

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")
products
#> # A tibble: 38 Ɨ 2
#> prod_code title
#>
#> 1 464 knives, not elsewhere classified
#> 2 474 tableware and accessories
#> 3 604 desks, chests, bureaus or buffets

from mastering-shiny.

iaulike avatar iaulike commented on September 27, 2024

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?

Yes. Iā€™m just going to try to get the files from the neiss package: # install.packages("devtools")
devtools::install_github("hadley/neiss")

from mastering-shiny.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.