- We can also answer Exercise 23.4.4, Item 1. Roughly estimate when
gh_repos
was created. Why can you only roughly estimate the date?
repos |> unnest_longer(json) |>
unnest_wider(json) |>
select(created_at)
## # A tibble: 176 × 1
## created_at
## <chr>
## 1 2016-06-14T22:33:49Z
## 2 2015-08-10T18:56:23Z
## 3 2015-05-28T14:04:57Z
## 4 2015-05-01T21:29:10Z
## 5 2016-06-21T09:29:01Z
## 6 2015-04-14T02:57:39Z
## 7 2015-06-11T03:10:38Z
## 8 2016-09-11T23:19:49Z
## 9 2016-07-12T11:31:31Z
## 10 2014-09-22T20:07:22Z
## # ℹ 166 more rows
repos |> unnest_longer(json) |>
unnest_wider(json) |>
select(created_at) |>
separate_wider_position(created_at,
widths = c(ymd = 10, 10)) |>
slice_max(order_by = ymd)
## # A tibble: 1 × 1
## ymd
## <chr>
## 1 2016-10-24