From 77f5dde93d37d3652fa7a4a48c36f9899bf27a54 Mon Sep 17 00:00:00 2001 From: behrman Date: Fri, 22 Jul 2016 12:14:45 -0700 Subject: [PATCH] Fix typos (#164) --- hierarchy.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hierarchy.Rmd b/hierarchy.Rmd index b27414b..085685f 100644 --- a/hierarchy.Rmd +++ b/hierarchy.Rmd @@ -21,7 +21,7 @@ library(purrr) ## Extracting deeply nested elements -Some times you get data structures that are very deeply nested. A common source of such data is JSON from a web API. I've previously downloaded a list of GitHub issues related to this book and saved it as `issues.json`. Now I'm going to load it into a list with jsonlite. By default `fromJSON()` tries to be helpful and simplifies the structure a little for you. Here I'm going to show you how to do it with purrr, so I set `simplifyVector = FALSE`: +Sometimes you get data structures that are very deeply nested. A common source of such data is JSON from a web API. I've previously downloaded a list of GitHub issues related to this book and saved it as `issues.json`. Now I'm going to load it into a list with jsonlite. By default `fromJSON()` tries to be helpful and simplifies the structure a little for you. Here I'm going to show you how to do it with purrr, so I set `simplifyVector = FALSE`: ```{r} # From https://api.github.com/repos/hadley/r4ds/issues