https://github.com/dreamRs/flexpivot
Simple frequency table
https://github.com/dreamRs/flexpivot
r rmarkdown shiny table
Last synced: 7 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T16:02:17.000Z (over 1 year ago)
- Last Synced: 2024-08-06T03:04:01.272Z (11 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.
[](https://lifecycle.r-lib.org/articles/stages.html)
[](https://github.com/dreamRs/flexpivot/actions/workflows/R-CMD-check.yaml)
[](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()
```
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.