Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seankross/mario
🍄 But our princess is in another castle!
https://github.com/seankross/mario
Last synced: about 2 months ago
JSON representation
🍄 But our princess is in another castle!
- Host: GitHub
- URL: https://github.com/seankross/mario
- Owner: seankross
- License: other
- Created: 2021-10-10T02:55:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-10T06:44:33.000Z (almost 3 years ago)
- Last Synced: 2024-05-19T23:37:11.152Z (4 months ago)
- Language: R
- Homepage:
- Size: 355 KB
- Stars: 21
- Watchers: 3
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mario
[![R-CMD-check](https://github.com/seankross/mario/workflows/R-CMD-check/badge.svg)](https://github.com/seankross/mario/actions)
Explore, deconstruct, and analyze pipes.
## Installation
You can install Mario using the `remotes` package:
``` r
remotes::install_github("seankross/mario@main")
```## Getting Started
``` r
library(tidyverse)
library(mario)(Formaldehyde %>%
slice(1:3) %>%
parse_pipeline() -> pipeline_call)#> Formaldehyde %>% slice(1:3)
pipeline_call %>%
get_verbs()#> [[1]]
#> Formaldehyde
#>
#> [[2]]
#> slice(1:3)pipeline_call %>%
get_data_steps()#> [[1]]
#> # A tibble: 6 × 2
#> carb optden
#>
#> 1 0.1 0.086
#> 2 0.3 0.269
#> 3 0.5 0.446
#> 4 0.6 0.538
#> 5 0.7 0.626
#> 6 0.9 0.782
#>
#> [[2]]
#> # A tibble: 3 × 2
#> carb optden
#>
#> 1 0.1 0.086
#> 2 0.3 0.269
#> 3 0.5 0.446
```## Related Work
- [tidylog](https://github.com/elbersb/tidylog)
- [Fix Leaky Pipes in R](https://www.rostrum.blog/2019/04/07/fix-leaky-pipes/)
- [Unravel](https://github.com/nischalshrestha/DataTutor)
- [Datamations](https://github.com/microsoft/datamations)