diff --git a/iteration.qmd b/iteration.qmd index 8bd4353..9e66636 100644 --- a/iteration.qmd +++ b/iteration.qmd @@ -574,7 +574,7 @@ paths |> list_rbind() ``` -This makes it clear that something is missing: there's no `year` column because that value is recorded in the path, not the individual files. +This makes it clear that something is missing: there's no `year` column because that value is recorded in the path, not in the individual files. We'll tackle that problem next. ### Data in the path {#sec-data-in-the-path} @@ -735,7 +735,7 @@ files <- paths |> Then a very useful strategy is to capture the structure of the data frames so that you can explore it using your data science skills. One way to do so is with this handy `df_types` function[^iteration-6] that returns a tibble with one row for each column: -[^iteration-6]: We're not going to explain how it works, but you if you look at the docs for the functions used, you should be able to puzzle it out. +[^iteration-6]: We're not going to explain how it works, but if you look at the docs for the functions used, you should be able to puzzle it out. ```{r} df_types <- function(df) {