Rectangling data: applications

repos <- tibble(x = gh_repos)
repos |> 
  unnest_longer(x) |> 
  unnest_wider(x) |> 
  select(id, full_name, owner, description) |> 
  unnest_wider(owner, names_sep = "_") |> 
  glimpse()
## Rows: 176
## Columns: 20
## $ id                        <int> 61160198, 40500181, 36442442, 34924886, 6162…
## $ full_name                 <chr> "gaborcsardi/after", "gaborcsardi/argufy", "…
## $ owner_login               <chr> "gaborcsardi", "gaborcsardi", "gaborcsardi",…
## $ owner_id                  <int> 660288, 660288, 660288, 660288, 660288, 6602…
## $ owner_avatar_url          <chr> "https://avatars.githubusercontent.com/u/660…
## $ owner_gravatar_id         <chr> "", "", "", "", "", "", "", "", "", "", "", …
## $ owner_url                 <chr> "https://api.github.com/users/gaborcsardi", …
## $ owner_html_url            <chr> "https://github.com/gaborcsardi", "https://g…
## $ owner_followers_url       <chr> "https://api.github.com/users/gaborcsardi/fo…
## $ owner_following_url       <chr> "https://api.github.com/users/gaborcsardi/fo…
## $ owner_gists_url           <chr> "https://api.github.com/users/gaborcsardi/gi…
## $ owner_starred_url         <chr> "https://api.github.com/users/gaborcsardi/st…
## $ owner_subscriptions_url   <chr> "https://api.github.com/users/gaborcsardi/su…
## $ owner_organizations_url   <chr> "https://api.github.com/users/gaborcsardi/or…
## $ owner_repos_url           <chr> "https://api.github.com/users/gaborcsardi/re…
## $ owner_events_url          <chr> "https://api.github.com/users/gaborcsardi/ev…
## $ owner_received_events_url <chr> "https://api.github.com/users/gaborcsardi/re…
## $ owner_type                <chr> "User", "User", "User", "User", "User", "Use…
## $ owner_site_admin          <lgl> FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FA…
## $ description               <chr> "Run Code in the Background", "Declarative f…