An open API service indexing awesome lists of open source software.

https://github.com/ismailmuller/pivotr

Computing pivot tables
https://github.com/ismailmuller/pivotr

Last synced: 5 months ago
JSON representation

Computing pivot tables

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# pivotr

[![Codecov test coverage](https://codecov.io/gh/ismailmuller/pivotr/branch/master/graph/badge.svg)](https://codecov.io/gh/ismailmuller/pivotr?branch=master)
[![Lifecycle Status](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![Travis build status](https://travis-ci.com/ismailmuller/pivotr.svg?branch=master)](https://travis-ci.com/ismailmuller/pivotr)

The goal of pivotr is to compute pivot tables by using the `tidyverse` syntax.

## Installation

You can install the development version from [GitHub](https://github.com/ismailmuller/pivotr) with:

```{r, message=FALSE, results='hide'}
# install.packages("devtools")
devtools::install_github("ismailmuller/pivotr")
```

## Example

This is a basic example which shows you how to solve a common problem:

```{r example}
library(pivotr)

pvt(mtcars, cyl, am, N = n())
```