diff --git a/images/0-keynote.key b/images/0-keynote.key index 69b5d7a..6b3d19f 100644 Binary files a/images/0-keynote.key and b/images/0-keynote.key differ diff --git a/images/tidy-17.png b/images/tidy-17.png new file mode 100644 index 0000000..a801653 Binary files /dev/null and b/images/tidy-17.png differ diff --git a/images/tidy-18.png b/images/tidy-18.png new file mode 100644 index 0000000..c979841 Binary files /dev/null and b/images/tidy-18.png differ diff --git a/tidy.Rmd b/tidy.Rmd index 79ddc47..817abcf 100644 --- a/tidy.Rmd +++ b/tidy.Rmd @@ -333,7 +333,7 @@ You may have noticed that we skipped `table3` in the last section. `table3` is u `separate()` turns a single character column into multiple columns by splitting the values of the column wherever a separator character appears. -[SEPARATE DIAGRAM] ![](images/blank.png) +![](images/tidy-17.png) So, for example, we can use `separate()` to tidy `table3`, which combines values of *cases* and *population* in the same column. @@ -371,7 +371,7 @@ You can further customize `separate()` with the `remove`, `convert`, and `extra` `unite()` does the opposite of `separate()`: it combines multiple columns into a single column. -**TODO: UNITE DESCRIPTION** +![](images/tidy-18.png) We can use `unite()` to rejoin the *century* and *year* columns that we created in the last example. That data is saved as `tidyr::table6`.