Giter VIP home page Giter VIP logo

Comments (4)

vincentarelbundock avatar vincentarelbundock commented on July 30, 2024

Thanks for the report. The problem is that:

> data(list = "state.x77", package = "datasets")
Warning message:
In data(list = "state.x77", package = "datasets") :
  data set β€˜state.x77’ not found

from rdatasets.

try-sudo-rm-rf avatar try-sudo-rm-rf commented on July 30, 2024

image
here is an image when I load the dataset here is the doc of R dataset: https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/state.html
the state had multiple datasets associate

from rdatasets.

vincentarelbundock avatar vincentarelbundock commented on July 30, 2024

Right, sorry. This was a cryptic note-to-self.

The problem is that the script I use to scrape datasets calls the data function as I showed above. But for some obscure reason, the function does not appear to work in the case of this particular dataset. Fixing this would require modifying this function:

https://github.com/vincentarelbundock/Rdatasets/blob/master/scrape.R#L18

However, I'm not sure how to do it in a general way that will still work with all current datasets and not break anything.

from rdatasets.

vincentarelbundock avatar vincentarelbundock commented on July 30, 2024

I will close this now because nobody has suggested a solution and I have not found one myself. Everybody should feel free to re-open or keep commenting to suggest a new solution.

from rdatasets.

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.