Skip to content

Commit

Permalink
Merge pull request #511 from jhudsl/esquisse-updates
Browse files Browse the repository at this point in the history
Some minor updates to Esquisse for this session
  • Loading branch information
avahoffman authored Jan 16, 2024
2 parents 1705d34 + 8f37a3c commit c7996fe
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,13 @@ knitr::include_graphics("images/stop.png")

## Wide & Long Data Example

```{r}
```{r message=FALSE}
library(jhur)
wide_circ <- read_circulator()
```

## Wide Data

```{r}
library(dplyr)
wide_circ <- read_circulator()
glimpse(wide_circ)
```


## Long Data

```{r}
Expand All @@ -179,6 +173,12 @@ esquisser(wide_circ) # days as x...? Tricky!
esquisser(long_circ) # day as x, Boardings as y, Route as fill
```

## Some Alternatives to `esquisse`

* `ggquickeda`: https://smouksassi.github.io/ggquickeda/
* `ggraptR`: https://github.com/cargomoose/ggraptR/
* `autoplot` can be helpful for some packages (see [this blog post](http://www.sthda.com/english/wiki/ggfortify-extension-to-ggplot2-to-handle-some-popular-packages-r-software-and-data-visualization))

## Summary

* Use the `esquisser()` function on a dataset
Expand Down

0 comments on commit c7996fe

Please sign in to comment.