With glimpse() we can also see what type of data in
contained in each colummn and if its the same.
glimpse(q1)
## Rows: 365,069
## Columns: 12
## $ trip_id <dbl> 21742443, 21742444, 21742445, 21742446, 21742447, 21…
## $ start_time <dttm> 2019-01-01 00:04:37, 2019-01-01 00:08:13, 2019-01-0…
## $ end_time <dttm> 2019-01-01 00:11:07, 2019-01-01 00:15:34, 2019-01-0…
## $ bikeid <dbl> 2167, 4386, 1524, 252, 1170, 2437, 2708, 2796, 6205,…
## $ tripduration <dbl> 390, 441, 829, 1783, 364, 216, 177, 100, 1727, 336, …
## $ from_station_id <dbl> 199, 44, 15, 123, 173, 98, 98, 211, 150, 268, 299, 2…
## $ from_station_name <chr> "Wabash Ave & Grand Ave", "State St & Randolph St", …
## $ to_station_id <dbl> 84, 624, 644, 176, 35, 49, 49, 142, 148, 141, 295, 4…
## $ to_station_name <chr> "Milwaukee Ave & Grand Ave", "Dearborn St & Van Bure…
## $ usertype <chr> "Subscriber", "Subscriber", "Subscriber", "Subscribe…
## $ gender <chr> "Male", "Female", "Female", "Male", "Male", "Female"…
## $ birthyear <dbl> 1989, 1990, 1994, 1993, 1994, 1983, 1984, 1990, 1995…
glimpse(q2)
## Rows: 1,108,163
## Columns: 12
## $ `01 - Rental Details Rental ID` <dbl> 22178529, 22178530,…
## $ `01 - Rental Details Local Start Time` <dttm> 2019-04-01 00:02:2…
## $ `01 - Rental Details Local End Time` <dttm> 2019-04-01 00:09:4…
## $ `01 - Rental Details Bike ID` <dbl> 6251, 6226, 5649, 4…
## $ `01 - Rental Details Duration In Seconds Uncapped` <dbl> 446, 1048, 252, 357…
## $ `03 - Rental Start Station ID` <dbl> 81, 317, 283, 26, 2…
## $ `03 - Rental Start Station Name` <chr> "Daley Center Plaza…
## $ `02 - Rental End Station ID` <dbl> 56, 59, 174, 133, 1…
## $ `02 - Rental End Station Name` <chr> "Desplaines St & Ki…
## $ `User Type` <chr> "Subscriber", "Subs…
## $ `Member Gender` <chr> "Male", "Female", "…
## $ `05 - Member Details Member Birthday Year` <dbl> 1975, 1984, 1990, 1…
glimpse(q3)
## Rows: 1,640,718
## Columns: 12
## $ trip_id <dbl> 23479388, 23479389, 23479390, 23479391, 23479392, 23…
## $ start_time <dttm> 2019-07-01 00:00:27, 2019-07-01 00:01:16, 2019-07-0…
## $ end_time <dttm> 2019-07-01 00:20:41, 2019-07-01 00:18:44, 2019-07-0…
## $ bikeid <dbl> 3591, 5353, 6180, 5540, 6014, 4941, 3770, 5442, 2957…
## $ tripduration <dbl> 1214, 1048, 1554, 1503, 1213, 310, 1248, 1550, 1583,…
## $ from_station_id <dbl> 117, 381, 313, 313, 168, 300, 168, 313, 43, 43, 511,…
## $ from_station_name <chr> "Wilton Ave & Belmont Ave", "Western Ave & Monroe St…
## $ to_station_id <dbl> 497, 203, 144, 144, 62, 232, 62, 144, 195, 195, 84, …
## $ to_station_name <chr> "Kimball Ave & Belmont Ave", "Western Ave & 21st St"…
## $ usertype <chr> "Subscriber", "Customer", "Customer", "Customer", "C…
## $ gender <chr> "Male", NA, NA, NA, NA, "Male", NA, NA, NA, NA, NA, …
## $ birthyear <dbl> 1992, NA, NA, NA, NA, 1990, NA, NA, NA, NA, NA, NA, …
glimpse(q4)
## Rows: 704,054
## Columns: 12
## $ trip_id <dbl> 25223640, 25223641, 25223642, 25223643, 25223644, 25…
## $ start_time <dttm> 2019-10-01 00:01:39, 2019-10-01 00:02:16, 2019-10-0…
## $ end_time <dttm> 2019-10-01 00:17:20, 2019-10-01 00:06:34, 2019-10-0…
## $ bikeid <dbl> 2215, 6328, 3003, 3275, 5294, 1891, 1061, 1274, 6011…
## $ tripduration <dbl> 940, 258, 850, 2350, 1867, 373, 1072, 1458, 1437, 83…
## $ from_station_id <dbl> 20, 19, 84, 313, 210, 156, 84, 156, 156, 336, 77, 19…
## $ from_station_name <chr> "Sheffield Ave & Kingsbury St", "Throop (Loomis) St …
## $ to_station_id <dbl> 309, 241, 199, 290, 382, 226, 142, 463, 463, 336, 50…
## $ to_station_name <chr> "Leavitt St & Armitage Ave", "Morgan St & Polk St", …
## $ usertype <chr> "Subscriber", "Subscriber", "Subscriber", "Subscribe…
## $ gender <chr> "Male", "Male", "Female", "Male", "Male", "Female", …
## $ birthyear <dbl> 1987, 1998, 1991, 1990, 1987, 1994, 1991, 1995, 1993…