GithubHelp home page GithubHelp logo

Comments (3)

michaelquinn32 avatar michaelquinn32 commented on June 18, 2024 1

Let me know if you need more help with how all of this works within an RMarkdown/ knitr document.

from skimr.

michaelquinn32 avatar michaelquinn32 commented on June 18, 2024

I'm assuming that the you want something different in the default output. If it's in a knitr rendered report, things might get a bit more complicated.

Unfortunately we've built skimr to need specific column names, so it wouldn't be that easy to provide this directly through the existing API.

That said, you can make version of the print function to do this for you.
https://colab.research.google.com/drive/1zRY_FcpAF-jxHcjsDYGD-ApU-7GnLUyr?authuser=1#scrollTo=-7lhejz6MKv5

from skimr.

allefeld avatar allefeld commented on June 18, 2024

I see, make a wrapper. And then I guess I have to take care of the HTML rendering for R Markdown myself. Makes sense, thanks!

Just for the record, your code:

rename_and_print <- function(partitioned_df) {
  partitioned_df %>%
    rename(variable = skim_variable) %>%
    print()
}

skimmed <- skim(iris)

summary(skimmed)

caught <- skimmed %>%
  partition() %>%
  map(rename_and_print)

from skimr.

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.