Mutating joins: examples

flights2 <- flights |> 
  select(year, time_hour, origin, dest, tailnum, carrier)
flights2
## # A tibble: 336,776 × 6
##    year time_hour           origin dest  tailnum carrier
##   <int> <dttm>              <chr>  <chr> <chr>   <chr>  
## 1  2013 2013-01-01 05:00:00 EWR    IAH   N14228  UA     
## 2  2013 2013-01-01 05:00:00 LGA    IAH   N24211  UA     
## 3  2013 2013-01-01 05:00:00 JFK    MIA   N619AA  AA     
## 4  2013 2013-01-01 05:00:00 JFK    BQN   N804JB  B6     
## # ℹ 336,772 more rows