Comments (3)
Let me know if you need more help with how all of this works within an RMarkdown/ knitr document.
from skimr.
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.
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)
- Fix CRAN note HOT 3
- Rhub issues HOT 1
- Pkgdown is failing HOT 8
- Incorporate R 4.2 changes HOT 2
- Issues with 4.2 HOT 2
- Branch renaming
- Is there a way to get the plain text output in RMarkdown? HOT 5
- Better support RMarkdown notebook's interactive paged tables HOT 2
- print() with include_summary = F returns skimmed table twice HOT 2
- Deprecated usage of `vec_equal_na()` from {vctrs} HOT 9
- Change to new cran checks badge URL HOT 1
- Submit new version of skimr to CRAN soon? HOT 3
- Remove skips of tests on windows HOT 1
- Printing more rows than default max has unexpected behavior HOT 4
- Dots in in-line histogram HOT 6
- group_by not always working HOT 7
- Error when skimming `haven_labelled` variables HOT 7
- bespoke skim no longer working HOT 16
- Vignette issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skimr.