Suggested edits related to Strings chapter (#1219)

* Add {wakefield} as dependency for Strings chapter

* Move footnote into body of text

The footnote appears to be redundant with the more vague paragraph
immediately following it in the main body of the text, so combine their
information instead.

* Make explicit that `coalesce()` replaces NAs

* Fix definition of `start` & `end` for `str_sub()`

* Edit section on Letter variations

* Edit section on Locale-dependent function

* Apply suggestions from code review

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>
This commit is contained in:
Stephan Koenig
2023-01-06 12:13:34 -08:00
committed by GitHub
parent fc51a5f5f8
commit 94033a1331
2 changed files with 24 additions and 27 deletions

View File

@@ -218,7 +218,7 @@ In this book, we'll use three data packages from outside the tidyverse:
```{r}
#| eval: false
install.packages(c("gapminder", "Lahman", "nycflights13", "palmerpenguins"))
install.packages(c("gapminder", "Lahman", "nycflights13", "palmerpenguins", "wakefield"))
```
These packages provide data on world development, baseball, airline flights, and body measurements of penguins that we'll use to illustrate key data science ideas.