Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dreamRs/flexpivot
Simple frequency table
https://github.com/dreamRs/flexpivot
r rmarkdown shiny table
Last synced: 3 months ago
JSON representation
Simple frequency table
- Host: GitHub
- URL: https://github.com/dreamRs/flexpivot
- Owner: dreamRs
- License: gpl-3.0
- Created: 2020-05-28T12:50:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T16:02:17.000Z (10 months ago)
- Last Synced: 2024-05-21T02:09:46.721Z (6 months ago)
- Topics: r, rmarkdown, shiny, table
- Language: R
- Homepage: https://dreamrs.github.io/flexpivot/
- Size: 7.31 MB
- Stars: 24
- Watchers: 5
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - dreamRs/flexpivot - Simple frequency table (R)
README
# flexpivot
> [{flextable}](https://github.com/davidgohel/flextable) extension to create ready-to-use frequency tables in [shiny](https://shiny.posit.co/) and [rmarkdown](https://rmarkdown.rstudio.com/), and easily exportable to Word, PowerPoint and Excel.
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![R-CMD-check](https://github.com/dreamRs/flexpivot/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dreamRs/flexpivot/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/dreamRs/flexpivot/branch/master/graph/badge.svg)](https://app.codecov.io/gh/dreamRs/flexpivot?branch=master)## Installation
You can install the development version of {flexpivot} from GitHub with:
```r
remotes::install_github("dreamRs/flexpivot")
```## Example
```r
library(flexpivot)
library(magrittr)nobel_laureates %>%
subset(category %in% c("Chemistry", "Physics")) %>%
pivot_table("category", "gender") %>%
pivot_format()
```![](man/figures/flexpivot.png)
More examples available in the vignette : https://dreamrs.github.io/flexpivot/articles/flexpivot.html
## Related packages
* [crosstable](https://github.com/DanChaltiel/crosstable) & [crosstableAssistant](https://github.com/DanChaltiel/crosstableAssistant) makes it easy to calculate descriptive statistics and export them into Office and has a nice Shiny app to create tables interactively.