nycflights13: Data about flights departing NYC in 2013.

> library(nycflights13)

バージョン: 0.1


関数名 概略
airlines Airline names.
airports Airport metadata
flights Flights data
planes Plane metadata.
weather Hourly weather data

airlines

> airlines %>% {
+   class(.) %>% print()
+   dplyr::glimpse(.)
+ }
[1] "tbl_df"     "tbl"        "data.frame"
Observations: 16
Variables: 2
$ carrier (fctr) 9E, AA, AS, B6, DL, EV, F9, FL, HA, MQ, OO, UA, US, V...
$ name    (fctr) Endeavor Air Inc., American Airlines Inc., Alaska Air...

airports

> airports %>% {
+   class(.) %>% print()
+   dplyr::glimpse(.)
+ }
[1] "tbl_df"     "tbl"        "data.frame"
Observations: 1,397
Variables: 7
$ faa  (chr) "04G", "06A", "06C", "06N", "09J", "0A9", "0G6", "0G7", "...
$ name (chr) "Lansdowne Airport", "Moton Field Municipal Airport", "Sc...
$ lat  (dbl) 41.13047, 32.46057, 41.98934, 41.43191, 31.07447, 36.3712...
$ lon  (dbl) -80.61958, -85.68003, -88.10124, -74.39156, -81.42778, -8...
$ alt  (int) 1044, 264, 801, 523, 11, 1593, 730, 492, 1000, 108, 409, ...
$ tz   (dbl) -5, -5, -6, -5, -4, -4, -5, -5, -5, -8, -5, -6, -5, -4, -...
$ dst  (chr) "A", "A", "A", "A", "A", "A", "A", "A", "U", "A", "A", "U...

flights

> flights %>% {
+   class(.) %>% print()
+   dplyr::glimpse(.)
+ }
[1] "tbl_df"     "tbl"        "data.frame"
Observations: 336,776
Variables: 16
$ year      (int) 2013, 2013, 2013, 2013, 2013, 2013, 2013, 2013, 2013...
$ month     (int) 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
$ day       (int) 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
$ dep_time  (int) 517, 533, 542, 544, 554, 554, 555, 557, 557, 558, 55...
$ dep_delay (dbl) 2, 4, 2, -1, -6, -4, -5, -3, -3, -2, -2, -2, -2, -2,...
$ arr_time  (int) 830, 850, 923, 1004, 812, 740, 913, 709, 838, 753, 8...
$ arr_delay (dbl) 11, 20, 33, -18, -25, 12, 19, -14, -8, 8, -2, -3, 7,...
$ carrier   (chr) "UA", "UA", "AA", "B6", "DL", "UA", "B6", "EV", "B6"...
$ tailnum   (chr) "N14228", "N24211", "N619AA", "N804JB", "N668DN", "N...
$ flight    (int) 1545, 1714, 1141, 725, 461, 1696, 507, 5708, 79, 301...
$ origin    (chr) "EWR", "LGA", "JFK", "JFK", "LGA", "EWR", "EWR", "LG...
$ dest      (chr) "IAH", "IAH", "MIA", "BQN", "ATL", "ORD", "FLL", "IA...
$ air_time  (dbl) 227, 227, 160, 183, 116, 150, 158, 53, 140, 138, 149...
$ distance  (dbl) 1400, 1416, 1089, 1576, 762, 719, 1065, 229, 944, 73...
$ hour      (dbl) 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6...
$ minute    (dbl) 17, 33, 42, 44, 54, 54, 55, 57, 57, 58, 58, 58, 58, ...

planes

> planes %>% {
+   class(.) %>% print()
+   dplyr::glimpse(.)
+ }
[1] "tbl_df"     "tbl"        "data.frame"
Observations: 3,322
Variables: 9
$ tailnum      (chr) "N10156", "N102UW", "N103US", "N104UW", "N10575",...
$ year         (int) 2004, 1998, 1999, 1999, 2002, 1999, 1999, 1999, 1...
$ type         (chr) "Fixed wing multi engine", "Fixed wing multi engi...
$ manufacturer (chr) "EMBRAER", "AIRBUS INDUSTRIE", "AIRBUS INDUSTRIE"...
$ model        (chr) "EMB-145XR", "A320-214", "A320-214", "A320-214", ...
$ engines      (int) 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
$ seats        (int) 55, 182, 182, 182, 55, 182, 182, 182, 182, 182, 5...
$ speed        (int) NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, N...
$ engine       (chr) "Turbo-fan", "Turbo-fan", "Turbo-fan", "Turbo-fan...

weather

> weather %>% {
+   class(.) %>% print()
+   dplyr::glimpse(.)
+ }
[1] "grouped_df" "tbl_df"     "tbl"        "data.frame"
Observations: 8,719
Variables: 14
$ origin     (chr) "EWR", "EWR", "EWR", "EWR", "EWR", "EWR", "EWR", "E...
$ year       (dbl) 2013, 2013, 2013, 2013, 2013, 2013, 2013, 2013, 201...
$ month      (dbl) 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
$ day        (int) 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
$ hour       (int) 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, ...
$ temp       (dbl) 37.04, 37.04, 37.94, 37.94, 37.94, 39.02, 39.02, 39...
$ dewp       (dbl) 21.92, 21.92, 21.92, 23.00, 24.08, 26.06, 26.96, 28...
$ humid      (dbl) 53.97, 53.97, 52.09, 54.51, 57.04, 59.37, 61.63, 64...
$ wind_dir   (dbl) 230, 230, 230, 230, 240, 270, 250, 240, 250, 260, 2...
$ wind_speed (dbl) 10.35702, 13.80936, 12.65858, 13.80936, 14.96014, 1...
$ wind_gust  (dbl) 11.918651, 15.891535, 14.567241, 15.891535, 17.2158...
$ precip     (dbl) 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
$ pressure   (dbl) 1013.9, 1013.0, 1012.6, 1012.7, 1012.8, 1012.0, 101...
$ visib      (dbl) 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,...