From f2d13a0391883846595f941cccde50f29ad05e3e Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 14 Apr 2015 11:11:35 -0400 Subject: [PATCH] #29 missing call to ggplot2 --- vignettes/introduction-to-tidyjson.Rmd | 1 + 1 file changed, 1 insertion(+) diff --git a/vignettes/introduction-to-tidyjson.Rmd b/vignettes/introduction-to-tidyjson.Rmd index b3f6222..cb6dc52 100644 --- a/vignettes/introduction-to-tidyjson.Rmd +++ b/vignettes/introduction-to-tidyjson.Rmd @@ -550,6 +550,7 @@ Instead of using `jsonlite::prettify`, let's quickly summarize the keys using tidyjson and visualize the results: ```{r, fig.width = 7, fig.height = 6} +library(ggplot2) key_stats <- companies %>% gather_keys %>% json_types %>% group_by(key, type) %>% tally key_stats