The hotel booking dataset is a comprehensive collection of booking information for two types of hotels: a city hotel and a resort hotel. This dataset provides detailed information on various aspects of hotel bookings, including the booking time, length of stay, number of adults, children, and babies, as well as the number of available parking spaces and the booking’s source. The dataset spans a significant period, capturing a wide range of booking behaviors and patterns, making it a valuable resource for analysis and decision-making.
This analysis aims to design an information dashboard using the hotel booking dataset to support quantitative decision-making. The dashboard will offer insights into booking trends, cancellation rates, and customer demographics, aiding hotel management in optimizing operations and maximizing revenue. Through visualizations and key insights, the dashboard will present business information clearly, enhancing strategic planning and operational efficiency.
Key features of the dataset include:
Booking Details: Information on the type of hotel, booking lead time, and the dates of arrival and departure. Guest Demographics: Number of adults, children, and babies included in each booking. Booking Modifications: Data on changes to bookings, such as cancellations and rebookings. Market Segmentation: Insights into the market segment and distribution channels through which bookings were made. Financial Metrics: Metrics such as the average daily rate (ADR) and total revenue generated from bookings. Customer Preferences: Information on the type of meal booked, special requests, and room preferences. Operational Metrics: Details on the number of stays in weekend nights versus week nights, and any waiting list entries.
| year | hotel | is_canceled | lead_time | arrival_date_year | arrival_date_month | arrival_date_week_number | arrival_date_day_of_month | stays_in_weekend_nights | stays_in_week_nights | adults | children | babies | meal | meal_cost | country | market_segment | distribution_channel | is_repeated_guest | previous_cancellations | previous_bookings_not_canceled | reserved_room_type | assigned_room_type | booking_changes | deposit_type | agent | company | days_in_waiting_list | customer_type | adr | required_car_parking_spaces | total_of_special_requests | reservation_status | reservation_status_date | booking_date | cancellation_rate | adr_per_day |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2018 | City Hotel | 1 | 0 | 2018 | October | 43 | 21 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Offline TA/TO | TA/TO | 1 | 0 | 0 | A | A | 0 | No Deposit | 87 | NULL | 0 | Group | 290.00 | 0 | 0 | Canceled | 10/21/2018 | 2018-10-21 | 1.89e-05 | 290.00 |
| 2018 | City Hotel | 1 | 72 | 2018 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 1 | 0 | A | A | 0 | No Deposit | NULL | NULL | 0 | Transient | 276.53 | 0 | 1 | Canceled | 12/24/2018 | 2018-12-31 | 1.89e-05 | 276.53 |
| 2018 | Resort Hotel | 0 | 52 | 2018 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | HB | 17.99 | PRT | Direct | Direct | 0 | 0 | 0 | E | F | 1 | No Deposit | NULL | NULL | 0 | Transient | 332.00 | 1 | 1 | Check-Out | 1/1/2019 | 2018-12-31 | 0.00e+00 | 332.00 |
| 2018 | Resort Hotel | 0 | 1 | 2018 | July | 29 | 15 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Corporate | Corporate | 1 | 0 | 1 | A | C | 0 | No Deposit | NULL | NULL | 0 | Transient | 508.00 | 1 | 0 | Check-Out | 7/16/2018 | 2018-07-15 | 0.00e+00 | 508.00 |
| 2018 | Resort Hotel | 0 | 0 | 2018 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | BEL | Direct | Direct | 0 | 0 | 0 | F | F | 0 | No Deposit | NULL | NULL | 0 | Transient | 284.00 | 0 | 0 | Check-Out | 1/1/2019 | 2018-12-31 | 0.00e+00 | 284.00 |
| 2019 | Resort Hotel | 1 | 47 | 2019 | August | 33 | 7 | 1 | 0 | 3 | 1 | 0 | BB | 12.99 | ITA | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 274.00 | 0 | 0 | Canceled | 7/5/2019 | 2019-08-07 | 1.89e-05 | 274.00 |
| 2019 | Resort Hotel | 1 | 6 | 2019 | August | 35 | 25 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | NULL | NULL | 0 | Transient | 269.00 | 0 | 0 | Canceled | 8/25/2019 | 2019-08-25 | 1.89e-05 | 269.00 |
| 2019 | Resort Hotel | 1 | 319 | 2019 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | HB | 17.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | E | E | 0 | No Deposit | 240 | NULL | 0 | Transient | 382.00 | 0 | 0 | Canceled | 2/22/2019 | 2019-12-31 | 1.89e-05 | 382.00 |
| 2019 | Resort Hotel | 1 | 67 | 2019 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | BEL | Direct | Direct | 1 | 1 | 1 | A | A | 1 | No Deposit | NULL | NULL | 0 | Transient | 300.00 | 0 | 2 | Canceled | 12/27/2019 | 2019-12-31 | 1.89e-05 | 300.00 |
| 2019 | City Hotel | 1 | 35 | 2019 | March | 13 | 25 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Offline TA/TO | TA/TO | 0 | 0 | 0 | A | A | 1 | Non Refund | 12 | NULL | 0 | Transient | 5400.00 | 0 | 0 | Canceled | 2/19/2019 | 2019-03-25 | 1.89e-05 | 5400.00 |
| 2019 | City Hotel | 1 | 22 | 2019 | September | 38 | 17 | 0 | 1 | 1 | 2 | 0 | BB | 12.99 | EGY | Online TA | TA/TO | 0 | 0 | 0 | B | B | 0 | No Deposit | 9 | NULL | 0 | Transient | 284.10 | 0 | 0 | Canceled | 8/26/2019 | 2019-09-17 | 1.89e-05 | 284.10 |
| 2019 | Resort Hotel | 0 | 2 | 2019 | July | 32 | 31 | 1 | 0 | 2 | 2 | 0 | HB | 17.99 | DEU | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 307.00 | 0 | 0 | Check-Out | 8/1/2019 | 2019-07-31 | 0.00e+00 | 307.00 |
| 2019 | Resort Hotel | 0 | 33 | 2019 | August | 32 | 1 | 1 | 0 | 3 | 1 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 274.00 | 1 | 0 | Check-Out | 8/2/2019 | 2019-08-01 | 0.00e+00 | 274.00 |
| 2019 | Resort Hotel | 0 | 1 | 2019 | August | 32 | 1 | 1 | 0 | 2 | 2 | 0 | HB | 17.99 | PRT | Direct | Direct | 0 | 0 | 0 | C | C | 0 | No Deposit | NULL | NULL | 0 | Transient | 282.00 | 0 | 0 | Check-Out | 8/2/2019 | 2019-08-01 | 0.00e+00 | 282.00 |
| 2019 | Resort Hotel | 0 | 2 | 2019 | August | 33 | 8 | 1 | 0 | 2 | 0 | 0 | BB | 12.99 | IRL | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | 250 | NULL | 0 | Transient | 335.00 | 0 | 0 | Check-Out | 8/9/2019 | 2019-08-08 | 0.00e+00 | 335.00 |
| 2019 | Resort Hotel | 0 | 31 | 2019 | August | 33 | 7 | 1 | 0 | 2 | 1 | 0 | HB | 17.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 1 | No Deposit | 240 | NULL | 0 | Transient | 359.00 | 0 | 0 | Check-Out | 8/8/2019 | 2019-08-07 | 0.00e+00 | 359.00 |
| 2019 | Resort Hotel | 0 | 53 | 2019 | August | 33 | 7 | 1 | 0 | 2 | 2 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient-Party | 269.00 | 0 | 1 | Check-Out | 8/8/2019 | 2019-08-07 | 0.00e+00 | 269.00 |
| 2019 | Resort Hotel | 0 | 53 | 2019 | August | 33 | 7 | 1 | 0 | 2 | 2 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient-Party | 269.00 | 0 | 1 | Check-Out | 8/8/2019 | 2019-08-07 | 0.00e+00 | 269.00 |
| 2019 | Resort Hotel | 0 | 1 | 2019 | August | 33 | 7 | 1 | 0 | 3 | 1 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 276.00 | 1 | 0 | Check-Out | 8/8/2019 | 2019-08-07 | 0.00e+00 | 276.00 |
| 2019 | Resort Hotel | 0 | 0 | 2019 | August | 33 | 8 | 1 | 0 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | H | H | 0 | No Deposit | NULL | NULL | 0 | Transient | 271.00 | 0 | 0 | Check-Out | 8/9/2019 | 2019-08-08 | 0.00e+00 | 271.00 |
| 2019 | Resort Hotel | 0 | 179 | 2019 | August | 33 | 9 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | F | G | 2 | No Deposit | 250 | NULL | 0 | Transient | 288.00 | 1 | 0 | Check-Out | 8/10/2019 | 2019-08-09 | 0.00e+00 | 288.00 |
| 2019 | Resort Hotel | 0 | 55 | 2019 | August | 33 | 10 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 269.00 | 1 | 0 | Check-Out | 8/11/2019 | 2019-08-10 | 0.00e+00 | 269.00 |
| 2019 | Resort Hotel | 0 | 26 | 2019 | August | 35 | 22 | 1 | 0 | 2 | 1 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | D | D | 0 | No Deposit | NULL | NULL | 0 | Transient | 268.50 | 1 | 1 | Check-Out | 8/23/2019 | 2019-08-22 | 0.00e+00 | 268.50 |
| 2019 | Resort Hotel | 0 | 12 | 2019 | August | 35 | 21 | 1 | 0 | 2 | 0 | 0 | BB | 12.99 | DZA | Direct | Direct | 0 | 0 | 0 | H | H | 0 | No Deposit | NULL | NULL | 0 | Transient-Party | 274.00 | 0 | 2 | Check-Out | 8/22/2019 | 2019-08-21 | 0.00e+00 | 274.00 |
| 2019 | Resort Hotel | 0 | 0 | 2019 | August | 35 | 23 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 281.00 | 0 | 0 | Check-Out | 8/24/2019 | 2019-08-23 | 0.00e+00 | 281.00 |
| 2019 | Resort Hotel | 0 | 2 | 2019 | August | 35 | 25 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | DEU | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 291.00 | 1 | 1 | Check-Out | 8/26/2019 | 2019-08-25 | 0.00e+00 | 291.00 |
| 2019 | Resort Hotel | 0 | 22 | 2019 | August | 35 | 27 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 281.00 | 1 | 1 | Check-Out | 8/28/2019 | 2019-08-27 | 0.00e+00 | 281.00 |
| 2019 | Resort Hotel | 0 | 32 | 2019 | August | 36 | 30 | 0 | 1 | 3 | 1 | 0 | BB | 12.99 | BEL | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 274.00 | 2 | 1 | Check-Out | 8/31/2019 | 2019-08-30 | 0.00e+00 | 274.00 |
| 2019 | City Hotel | 0 | 23 | 2019 | March | 13 | 25 | 0 | 1 | 2 | 1 | 0 | BB | 12.99 | USA | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | 14 | NULL | 0 | Transient | 285.00 | 0 | 0 | Check-Out | 3/26/2019 | 2019-03-25 | 0.00e+00 | 285.00 |
| 2019 | City Hotel | 0 | 11 | 2019 | July | 28 | 4 | 1 | 0 | 2 | 3 | 0 | BB | 12.99 | USA | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | NULL | NULL | 0 | Transient | 267.00 | 0 | 3 | Check-Out | 7/5/2019 | 2019-07-04 | 0.00e+00 | 267.00 |
| 2019 | City Hotel | 0 | 28 | 2019 | July | 30 | 20 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 277.00 | 1 | 2 | Check-Out | 7/21/2019 | 2019-07-20 | 0.00e+00 | 277.00 |
| 2019 | City Hotel | 0 | 206 | 2019 | August | 32 | 5 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | GBR | Direct | Direct | 0 | 0 | 0 | G | G | 1 | No Deposit | 14 | NULL | 0 | Transient | 309.50 | 1 | 0 | Check-Out | 8/6/2019 | 2019-08-05 | 0.00e+00 | 309.50 |
| 2019 | City Hotel | 0 | 22 | 2019 | August | 32 | 5 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | FRA | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 297.00 | 0 | 1 | Check-Out | 8/6/2019 | 2019-08-05 | 0.00e+00 | 297.00 |
| 2019 | City Hotel | 0 | 6 | 2019 | August | 33 | 13 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | IRL | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 316.00 | 1 | 0 | Check-Out | 8/14/2019 | 2019-08-13 | 0.00e+00 | 316.00 |
| 2019 | City Hotel | 0 | 10 | 2019 | August | 34 | 15 | 1 | 0 | 2 | 2 | 1 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | NULL | NULL | 0 | Transient | 276.00 | 0 | 2 | Check-Out | 8/16/2019 | 2019-08-15 | 0.00e+00 | 276.00 |
| 2019 | City Hotel | 0 | 0 | 2019 | September | 39 | 19 | 1 | 0 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | F | F | 0 | No Deposit | NULL | NULL | 0 | Transient | 270.00 | 0 | 0 | Check-Out | 9/20/2019 | 2019-09-19 | 0.00e+00 | 270.00 |
| 2019 | City Hotel | 0 | 0 | 2019 | September | 39 | 20 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | G | G | 2 | No Deposit | NULL | NULL | 0 | Transient | 275.00 | 0 | 0 | Check-Out | 9/21/2019 | 2019-09-20 | 0.00e+00 | 275.00 |
| 2019 | City Hotel | 0 | 1 | 2019 | September | 39 | 20 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 275.00 | 0 | 1 | Check-Out | 9/21/2019 | 2019-09-20 | 0.00e+00 | 275.00 |
| 2019 | City Hotel | 1 | 0 | 2019 | August | 34 | 16 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | F | F | 0 | No Deposit | NULL | NULL | 0 | Transient | 283.00 | 0 | 3 | No-Show | 8/16/2019 | 2019-08-16 | 1.89e-05 | 283.00 |
| 2019 | City Hotel | 1 | 0 | 2019 | October | 43 | 21 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Offline TA/TO | TA/TO | 1 | 0 | 0 | A | A | 0 | No Deposit | 87 | NULL | 0 | Group | 290.00 | 0 | 0 | Canceled | 10/21/2019 | 2019-10-21 | 1.89e-05 | 290.00 |
| 2019 | City Hotel | 1 | 72 | 2019 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 1 | 0 | A | A | 0 | No Deposit | NULL | NULL | 0 | Transient | 276.53 | 0 | 1 | Canceled | 12/24/2019 | 2019-12-31 | 1.89e-05 | 276.53 |
| 2019 | Resort Hotel | 0 | 52 | 2019 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | HB | 17.99 | PRT | Direct | Direct | 0 | 0 | 0 | E | F | 1 | No Deposit | NULL | NULL | 0 | Transient | 332.00 | 1 | 1 | Check-Out | 1/1/2019 | 2019-12-31 | 0.00e+00 | 332.00 |
| 2019 | Resort Hotel | 0 | 1 | 2019 | July | 29 | 15 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Corporate | Corporate | 1 | 0 | 1 | A | C | 0 | No Deposit | NULL | NULL | 0 | Transient | 508.00 | 1 | 0 | Check-Out | 7/16/2019 | 2019-07-15 | 0.00e+00 | 508.00 |
| 2019 | Resort Hotel | 0 | 0 | 2019 | December | 53 | 31 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | BEL | Direct | Direct | 0 | 0 | 0 | F | F | 0 | No Deposit | NULL | NULL | 0 | Transient | 284.00 | 0 | 0 | Check-Out | 1/1/2019 | 2019-12-31 | 0.00e+00 | 284.00 |
| 2020 | Resort Hotel | 1 | 87 | 2020 | July | 28 | 12 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | CHE | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 270.00 | 0 | 0 | Canceled | 4/24/2020 | 2020-07-12 | 1.89e-05 | 270.00 |
| 2020 | Resort Hotel | 1 | 141 | 2020 | July | 30 | 28 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | CHE | Online TA | TA/TO | 0 | 0 | 0 | C | C | 0 | No Deposit | 240 | NULL | 0 | Transient | 278.00 | 0 | 1 | Canceled | 6/26/2020 | 2020-07-28 | 1.89e-05 | 278.00 |
| 2020 | Resort Hotel | 1 | 19 | 2020 | July | 30 | 28 | 0 | 1 | 3 | 1 | 0 | BB | 12.99 | CHN | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 315.00 | 0 | 0 | Canceled | 7/11/2020 | 2020-07-28 | 1.89e-05 | 315.00 |
| 2020 | Resort Hotel | 1 | 8 | 2020 | August | 31 | 5 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | Non Refund | 240 | NULL | 0 | Transient | 330.00 | 0 | 0 | Canceled | 8/1/2020 | 2020-08-05 | 1.89e-05 | 330.00 |
| 2020 | Resort Hotel | 1 | 50 | 2020 | August | 32 | 10 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | C | C | 0 | No Deposit | 240 | NULL | 0 | Transient | 280.00 | 0 | 1 | Canceled | 6/21/2020 | 2020-08-10 | 1.89e-05 | 280.00 |
| 2020 | Resort Hotel | 1 | 15 | 2020 | August | 33 | 16 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 310.00 | 0 | 0 | Canceled | 8/4/2020 | 2020-08-16 | 1.89e-05 | 310.00 |
| 2020 | Resort Hotel | 1 | 16 | 2020 | August | 33 | 17 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | C | C | 0 | No Deposit | 240 | NULL | 0 | Transient | 308.00 | 0 | 1 | Canceled | 8/1/2020 | 2020-08-17 | 1.89e-05 | 308.00 |
| 2020 | City Hotel | 1 | 10 | 2020 | May | 20 | 18 | 0 | 1 | 1 | 0 | 0 | BB | 12.99 | PRT | Corporate | Corporate | 0 | 0 | 0 | G | G | 1 | No Deposit | NULL | 466 | 0 | Group | 275.00 | 0 | 0 | Canceled | 5/10/2020 | 2020-05-18 | 1.89e-05 | 275.00 |
| 2020 | City Hotel | 1 | 31 | 2020 | May | 20 | 19 | 0 | 1 | 3 | 0 | 0 | HB | 17.99 | PRT | Direct | Direct | 0 | 0 | 0 | D | D | 1 | No Deposit | 14 | NULL | 0 | Transient | 279.00 | 0 | 0 | Canceled | 4/20/2020 | 2020-05-19 | 1.89e-05 | 279.00 |
| 2020 | City Hotel | 1 | 21 | 2020 | July | 27 | 6 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | THA | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 307.00 | 0 | 0 | Canceled | 6/15/2020 | 2020-07-06 | 1.89e-05 | 307.00 |
| 2020 | City Hotel | 1 | 31 | 2020 | August | 32 | 11 | 0 | 1 | 2 | 3 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 8 | NULL | 0 | Transient | 352.50 | 0 | 1 | Canceled | 7/12/2020 | 2020-08-11 | 1.89e-05 | 352.50 |
| 2020 | City Hotel | 1 | 25 | 2020 | August | 33 | 16 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 7 | NULL | 0 | Transient | 266.96 | 0 | 1 | Canceled | 8/2/2020 | 2020-08-16 | 1.89e-05 | 266.96 |
| 2020 | City Hotel | 1 | 0 | 2020 | August | 33 | 19 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | D | D | 0 | No Deposit | NULL | NULL | 0 | Group | 318.00 | 0 | 0 | Canceled | 8/19/2020 | 2020-08-19 | 1.89e-05 | 318.00 |
| 2020 | Resort Hotel | 0 | 37 | 2020 | August | 32 | 12 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | C | C | 0 | No Deposit | 250 | NULL | 0 | Transient | 275.25 | 1 | 1 | Check-Out | 8/13/2020 | 2020-08-12 | 0.00e+00 | 275.25 |
| 2020 | Resort Hotel | 0 | 3 | 2020 | July | 27 | 8 | 0 | 1 | 3 | 0 | 0 | HB | 17.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | G | G | 2 | No Deposit | 240 | NULL | 0 | Transient | 322.00 | 1 | 0 | Check-Out | 7/9/2020 | 2020-07-08 | 0.00e+00 | 322.00 |
| 2020 | Resort Hotel | 0 | 125 | 2020 | July | 28 | 10 | 1 | 0 | 3 | 1 | 0 | BB | 12.99 | GBR | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 274.00 | 0 | 2 | Check-Out | 7/11/2020 | 2020-07-10 | 0.00e+00 | 274.00 |
| 2020 | Resort Hotel | 0 | 0 | 2020 | July | 29 | 18 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | DJI | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 273.00 | 0 | 0 | Check-Out | 7/19/2020 | 2020-07-18 | 0.00e+00 | 273.00 |
| 2020 | Resort Hotel | 0 | 59 | 2020 | July | 30 | 27 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | NLD | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 305.00 | 0 | 1 | Check-Out | 7/28/2020 | 2020-07-27 | 0.00e+00 | 305.00 |
| 2020 | Resort Hotel | 0 | 51 | 2020 | August | 31 | 1 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | NLD | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 319.00 | 1 | 1 | Check-Out | 8/2/2020 | 2020-08-01 | 0.00e+00 | 319.00 |
| 2020 | Resort Hotel | 0 | 34 | 2020 | August | 31 | 4 | 0 | 1 | 3 | 1 | 0 | BB | 12.99 | TUR | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 315.00 | 1 | 1 | Check-Out | 8/5/2020 | 2020-08-04 | 0.00e+00 | 315.00 |
| 2020 | Resort Hotel | 0 | 5 | 2020 | August | 32 | 6 | 1 | 0 | 2 | 2 | 0 | HB | 17.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 372.00 | 1 | 1 | Check-Out | 8/7/2020 | 2020-08-06 | 0.00e+00 | 372.00 |
| 2020 | Resort Hotel | 0 | 1 | 2020 | August | 32 | 8 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | LUX | Direct | Direct | 0 | 0 | 0 | H | H | 0 | No Deposit | 250 | NULL | 0 | Transient | 269.00 | 0 | 1 | Check-Out | 8/9/2020 | 2020-08-08 | 0.00e+00 | 269.00 |
| 2020 | Resort Hotel | 0 | 2 | 2020 | August | 32 | 8 | 0 | 1 | 3 | 1 | 0 | BB | 12.99 | FRA | Online TA | TA/TO | 0 | 0 | 0 | H | H | 0 | No Deposit | 240 | NULL | 0 | Transient | 300.00 | 0 | 1 | Check-Out | 8/9/2020 | 2020-08-08 | 0.00e+00 | 300.00 |
| 2020 | Resort Hotel | 0 | 3 | 2020 | August | 32 | 9 | 0 | 1 | 2 | 0 | 0 | HB | 17.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | D | D | 0 | No Deposit | 240 | NULL | 0 | Transient | 282.00 | 0 | 2 | Check-Out | 8/10/2020 | 2020-08-09 | 0.00e+00 | 282.00 |
| 2020 | Resort Hotel | 0 | 51 | 2020 | August | 32 | 12 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | CHL | Online TA | TA/TO | 0 | 0 | 0 | E | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 284.00 | 1 | 2 | Check-Out | 8/13/2020 | 2020-08-12 | 0.00e+00 | 284.00 |
| 2020 | Resort Hotel | 0 | 3 | 2020 | August | 32 | 12 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | USA | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 240 | NULL | 0 | Transient | 324.00 | 1 | 1 | Check-Out | 8/13/2020 | 2020-08-12 | 0.00e+00 | 324.00 |
| 2020 | Resort Hotel | 0 | 56 | 2020 | August | 33 | 18 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | E | F | 0 | No Deposit | 240 | NULL | 0 | Transient-Party | 284.00 | 0 | 4 | Check-Out | 8/19/2020 | 2020-08-18 | 0.00e+00 | 284.00 |
| 2020 | Resort Hotel | 0 | 56 | 2020 | August | 33 | 18 | 0 | 1 | 2 | 0 | 0 | BB | 12.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | E | F | 0 | No Deposit | 240 | NULL | 0 | Transient-Party | 270.00 | 0 | 4 | Check-Out | 8/19/2020 | 2020-08-18 | 0.00e+00 | 270.00 |
| 2020 | Resort Hotel | 0 | 5 | 2020 | August | 34 | 21 | 1 | 0 | 2 | 0 | 0 | HB | 17.99 | PRT | Direct | Direct | 0 | 0 | 0 | E | H | 1 | No Deposit | 250 | NULL | 0 | Transient | 268.30 | 1 | 1 | Check-Out | 8/22/2020 | 2020-08-21 | 0.00e+00 | 268.30 |
| 2020 | Resort Hotel | 0 | 30 | 2020 | August | 34 | 21 | 1 | 0 | 2 | 0 | 0 | BB | 12.99 | ESP | Direct | Direct | 0 | 0 | 0 | F | F | 0 | No Deposit | 250 | NULL | 0 | Transient | 299.00 | 1 | 1 | Check-Out | 8/22/2020 | 2020-08-21 | 0.00e+00 | 299.00 |
| 2020 | Resort Hotel | 0 | 9 | 2020 | August | 34 | 22 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | ESP | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | 250 | NULL | 0 | Transient | 319.00 | 1 | 3 | Check-Out | 8/23/2020 | 2020-08-22 | 0.00e+00 | 319.00 |
| 2020 | City Hotel | 0 | 3 | 2020 | April | 16 | 22 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | ESP | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 336.00 | 1 | 1 | Check-Out | 4/23/2020 | 2020-04-22 | 0.00e+00 | 336.00 |
| 2020 | City Hotel | 0 | 5 | 2020 | April | 17 | 25 | 0 | 1 | 2 | 2 | 0 | HB | 17.99 | NLD | Direct | Direct | 0 | 0 | 0 | E | E | 1 | No Deposit | 14 | NULL | 0 | Transient | 275.00 | 0 | 1 | Check-Out | 4/26/2020 | 2020-04-25 | 0.00e+00 | 275.00 |
| 2020 | City Hotel | 0 | 3 | 2020 | April | 17 | 26 | 0 | 1 | 3 | 0 | 0 | HB | 17.99 | FRA | Online TA | TA/TO | 0 | 0 | 0 | D | E | 0 | No Deposit | 9 | NULL | 0 | Transient | 287.00 | 0 | 1 | Check-Out | 4/27/2020 | 2020-04-26 | 0.00e+00 | 287.00 |
| 2020 | City Hotel | 0 | 12 | 2020 | April | 18 | 30 | 1 | 0 | 1 | 0 | 0 | BB | 12.99 | FIN | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | 14 | NULL | 0 | Transient | 285.00 | 0 | 3 | Check-Out | 5/1/2020 | 2020-04-30 | 0.00e+00 | 285.00 |
| 2020 | City Hotel | 0 | 0 | 2020 | May | 19 | 9 | 0 | 1 | 1 | 0 | 0 | BB | 12.99 | ITA | Offline TA/TO | TA/TO | 0 | 0 | 0 | A | G | 0 | No Deposit | 159 | NULL | 0 | Transient | 510.00 | 0 | 0 | Check-Out | 5/10/2020 | 2020-05-09 | 0.00e+00 | 510.00 |
| 2020 | City Hotel | 0 | 0 | 2020 | May | 19 | 10 | 0 | 1 | 1 | 0 | 0 | BB | 12.99 | NLD | Direct | Direct | 0 | 0 | 0 | A | G | 2 | No Deposit | NULL | NULL | 0 | Transient | 285.00 | 0 | 0 | Check-Out | 5/11/2020 | 2020-05-10 | 0.00e+00 | 285.00 |
| 2020 | City Hotel | 0 | 0 | 2020 | May | 19 | 10 | 0 | 1 | 1 | 0 | 0 | BB | 12.99 | BEL | Direct | Direct | 0 | 0 | 0 | A | G | 0 | No Deposit | NULL | NULL | 0 | Transient | 285.00 | 0 | 0 | Check-Out | 5/11/2020 | 2020-05-10 | 0.00e+00 | 285.00 |
| 2020 | City Hotel | 0 | 0 | 2020 | May | 20 | 19 | 0 | 1 | 3 | 0 | 1 | BB | 12.99 | AGO | Direct | Direct | 0 | 0 | 0 | F | F | 1 | No Deposit | NULL | NULL | 0 | Transient | 305.00 | 0 | 0 | Check-Out | 5/20/2020 | 2020-05-19 | 0.00e+00 | 305.00 |
| 2020 | City Hotel | 0 | 5 | 2020 | June | 24 | 17 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | NULL | NULL | 0 | Transient-Party | 295.00 | 0 | 0 | Check-Out | 6/18/2020 | 2020-06-17 | 0.00e+00 | 295.00 |
| 2020 | City Hotel | 0 | 2 | 2020 | June | 26 | 30 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | GBR | Online TA | TA/TO | 0 | 0 | 0 | F | G | 0 | No Deposit | 8 | NULL | 0 | Transient | 295.00 | 0 | 1 | Check-Out | 7/1/2020 | 2020-06-30 | 0.00e+00 | 295.00 |
| 2020 | City Hotel | 0 | 1 | 2020 | July | 28 | 13 | 0 | 1 | 3 | 0 | 1 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | F | F | 0 | No Deposit | 14 | NULL | 0 | Transient | 283.00 | 2 | 1 | Check-Out | 7/14/2020 | 2020-07-13 | 0.00e+00 | 283.00 |
| 2020 | City Hotel | 0 | 32 | 2020 | July | 29 | 16 | 1 | 0 | 2 | 2 | 0 | BB | 12.99 | NOR | Online TA | TA/TO | 0 | 0 | 0 | G | G | 0 | No Deposit | 8 | NULL | 0 | Transient | 295.00 | 0 | 1 | Check-Out | 7/17/2020 | 2020-07-16 | 0.00e+00 | 295.00 |
| 2020 | City Hotel | 0 | 15 | 2020 | July | 29 | 20 | 0 | 1 | 3 | 0 | 0 | BB | 12.99 | CHN | Direct | Direct | 0 | 0 | 0 | F | F | 2 | No Deposit | 14 | NULL | 0 | Transient | 285.00 | 0 | 1 | Check-Out | 7/21/2020 | 2020-07-20 | 0.00e+00 | 285.00 |
| 2020 | City Hotel | 0 | 1 | 2020 | August | 32 | 7 | 1 | 0 | 2 | 2 | 0 | BB | 12.99 | FRA | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 279.00 | 0 | 2 | Check-Out | 8/8/2020 | 2020-08-07 | 0.00e+00 | 279.00 |
| 2020 | City Hotel | 0 | 0 | 2020 | August | 32 | 8 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | NULL | NULL | 0 | Transient | 269.00 | 0 | 0 | Check-Out | 8/9/2020 | 2020-08-08 | 0.00e+00 | 269.00 |
| 2020 | City Hotel | 0 | 13 | 2020 | August | 32 | 9 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | PRT | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 270.00 | 0 | 3 | Check-Out | 8/10/2020 | 2020-08-09 | 0.00e+00 | 270.00 |
| 2020 | City Hotel | 0 | 29 | 2020 | August | 32 | 10 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | NLD | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 270.00 | 0 | 2 | Check-Out | 8/11/2020 | 2020-08-10 | 0.00e+00 | 270.00 |
| 2020 | City Hotel | 0 | 1 | 2020 | August | 32 | 11 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | USA | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | 14 | NULL | 0 | Transient | 290.00 | 0 | 0 | Check-Out | 8/12/2020 | 2020-08-11 | 0.00e+00 | 290.00 |
| 2020 | City Hotel | 0 | 4 | 2020 | August | 33 | 15 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | ISR | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 290.00 | 0 | 0 | Check-Out | 8/16/2020 | 2020-08-15 | 0.00e+00 | 290.00 |
| 2020 | City Hotel | 0 | 72 | 2020 | August | 33 | 16 | 0 | 1 | 3 | 0 | 0 | HB | 17.99 | GBR | Online TA | TA/TO | 0 | 0 | 0 | D | D | 0 | No Deposit | 9 | NULL | 0 | Transient | 267.00 | 0 | 3 | Check-Out | 8/17/2020 | 2020-08-16 | 0.00e+00 | 267.00 |
| 2020 | City Hotel | 0 | 12 | 2020 | August | 33 | 17 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | GBR | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 279.00 | 0 | 0 | Check-Out | 8/18/2020 | 2020-08-17 | 0.00e+00 | 279.00 |
| 2020 | City Hotel | 0 | 19 | 2020 | August | 33 | 19 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | CZE | Online TA | TA/TO | 0 | 0 | 0 | F | F | 0 | No Deposit | 9 | NULL | 0 | Transient | 270.00 | 0 | 0 | Check-Out | 8/20/2020 | 2020-08-19 | 0.00e+00 | 270.00 |
| 2020 | City Hotel | 0 | 0 | 2020 | August | 35 | 28 | 0 | 1 | 2 | 3 | 0 | BB | 12.99 | GBR | Offline TA/TO | TA/TO | 1 | 0 | 0 | G | G | 3 | No Deposit | 229 | NULL | 0 | Group | 270.00 | 0 | 1 | Check-Out | 8/30/2020 | 2020-08-28 | 0.00e+00 | 270.00 |
| 2020 | City Hotel | 0 | 0 | 2020 | August | 35 | 28 | 0 | 1 | 2 | 2 | 0 | BB | 12.99 | NLD | Direct | Direct | 0 | 0 | 0 | G | G | 0 | No Deposit | NULL | NULL | 0 | Transient | 270.00 | 0 | 0 | Check-Out | 8/30/2020 | 2020-08-28 | 0.00e+00 | 270.00 |
| 2020 | City Hotel | 1 | 28 | 2020 | May | 20 | 19 | 0 | 1 | 3 | 0 | 0 | HB | 17.99 | PRT | Direct | Direct | 0 | 0 | 0 | D | D | 0 | No Deposit | 14 | NULL | 0 | Transient | 279.00 | 0 | 0 | No-Show | 5/19/2020 | 2020-05-19 | 1.89e-05 | 279.00 |
The analysis of the hotel booking dataset provides valuable insights into various aspects of hotel operations and customer behavior. Key findings from the visualizations and data analysis include:
ADR Trends: The Average Daily Rate (ADR) shows significant seasonal variation, with distinct peaks and troughs throughout the year. This information can help hotel management optimize pricing strategies during high and low demand periods to maximize revenue.
Market Segment Distribution: The pie chart on market segment distribution highlights the diverse sources of hotel bookings. This insight helps in tailoring marketing efforts and partnership strategies to target the most profitable segments effectively.
Revenue Breakdown by Customer Type: The visualization shows how much revenue each customer type contributes. It helps identify the most profitable customer segments. If transient customers generate the most revenue, it suggests focusing marketing efforts on attracting more of these customers. Conversely, if corporate or group customers bring in significant revenue, offering more tailored packages to these segments might be beneficial.
Reservations per month (by year): Analyzing reservations per month by each year provides valuable insights into seasonal booking patterns, trends over time, and the impact of events or seasons on demand. This analysis helps hotels make informed decisions regarding pricing, staffing, and marketing to effectively manage their operations and meet the needs of their guests.
---
title: "Hotel Booking Dashboard"
output:
flexdashboard::flex_dashboard:
vertical_layout: fill
orientation: rows
social: menu
source: embed
html_document:
df_print: paged
pdf_document: default
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(flexdashboard)
library(readr)
library(ggplot2)
library(tidyverse)
library(lubridate)
library(knitr)
library(plotly)
# Load your dataset
dataset <- read_csv("../Data/hotel_revenue_cleaned.csv")
# Data Cleaning and Preprocessing
data <- dataset %>%
dplyr::mutate(
booking_date = as.Date(paste(arrival_date_year, arrival_date_month, arrival_date_day_of_month, sep = "-"), "%Y-%B-%d"),
cancellation_rate = is_canceled / sum(is_canceled),
adr_per_day = adr / (stays_in_week_nights + stays_in_weekend_nights)
)
```
# Introduction
Row {data-height=10}
-----------------------------------------------------------------------
```{r echo = FALSE}
valueBox(value = "Lab1 - By Shweta Shankar Shete & Rohit Prasanna Chandramouli", icon = "fa-pencil")
```
Column {data-width=100}
-----------------------------------------------------------------------
### Total Bookings - 2020
```{r echo=FALSE}
total_bookings <- data %>% dplyr::filter(year == 2020) %>% nrow()
valueBox(value = total_bookings,icon = "fa-user-plus",caption = "Total Bookings - Current Year",color = "green")
```
### Total Cancellation - 2020
```{r echo=FALSE}
total_cancels <- data %>% dplyr::filter(year == 2020, is_canceled == 1) %>% nrow()
valueBox(value = total_cancels,icon = "fa-user-times",caption = "Total Cancellations - Current Year", color = "orange")
```
### Repeat Guests - Visits 2020
```{r echo=FALSE}
repeat_guests <- data %>% dplyr::filter(year == 2020, is_repeated_guest == 1) %>% nrow()
valueBox(value = repeat_guests,icon = "fa-arrow-up",caption = "Repeat Guest visits - Current Year", color = "coral")
```
Row {data-height=450}
-----------------------------------------------------------------------
### **Overview**
The hotel booking dataset is a comprehensive collection of booking information for two types of hotels: a city hotel and a resort hotel. This dataset provides detailed information on various aspects of hotel bookings, including the booking time, length of stay, number of adults, children, and babies, as well as the number of available parking spaces and the booking's source. The dataset spans a significant period, capturing a wide range of booking behaviors and patterns, making it a valuable resource for analysis and decision-making.
### **Objective**
This analysis aims to design an information dashboard using the hotel booking dataset to support quantitative decision-making. The dashboard will offer insights into booking trends, cancellation rates, and customer demographics, aiding hotel management in optimizing operations and maximizing revenue. Through visualizations and key insights, the dashboard will present business information clearly, enhancing strategic planning and operational efficiency.
**Key features of the dataset include:**
**Booking Details**: Information on the type of hotel, booking lead time, and the dates of arrival and departure.</br>
**Guest Demographics**: Number of adults, children, and babies included in each booking.</br>
**Booking Modifications**: Data on changes to bookings, such as cancellations and rebookings.</br>
**Market Segmentation**: Insights into the market segment and distribution channels through which bookings were made.</br>
**Financial Metrics**: Metrics such as the average daily rate (ADR) and total revenue generated from bookings.</br>
**Customer Preferences**: Information on the type of meal booked, special requests, and room preferences.</br>
**Operational Metrics**: Details on the number of stays in weekend nights versus week nights, and any waiting list entries.</br>
Row {data-height=500}
-----------------------------------------------------------------------
### **Dataset**
```{r echo = FALSE}
knitr::kable(top_n(data, n = 100))
```
# Booking Trends
## Column {data-height=900 .tabset .tabset-fade}
### **ADR Overtime** {data-width=900}
```{r echo=FALSE, warning=FALSE, message=FALSE}
# Time Series Plot for ADR Over Time
adr_time_series <- ggplot(data, aes(x = booking_date, y = adr)) +
geom_line(color = "blue") +
labs(title = "ADR Over Time", x = "Date", y = "Average Daily Rate (ADR)") +
theme_minimal()
ggplotly(adr_time_series)
```
### **Average Daily Rate (ADR) by Month** {data-width=900}
```{r echo=FALSE, warning=FALSE, message=FALSE}
# Calculate the average ADR by month
adr_by_month <- data %>%
group_by(arrival_date_month) %>%
summarize(avg_adr = mean(adr, na.rm = TRUE))
# Create an interactive bar chart
bar_chart <- ggplot(adr_by_month, aes(x = factor(arrival_date_month, levels = month.name), y = avg_adr, fill = factor(arrival_date_month))) +
geom_bar(stat = "identity") +
labs(title = "Average Daily Rate (ADR) by Month",
x = "Month",
y = "Average Daily Rate (ADR)") +
theme_minimal() +
theme(legend.position = "none")# +
#scale_fill_manual(values = rainbow(n = 12)) # Use rainbow colors
# Convert to Plotly for interactivity
bar_chart_interactive <- ggplotly(bar_chart)
# Print the interactive chart
bar_chart_interactive
```
### **Market Segment Distribution** {data-width=900}
```{r echo=FALSE, warning=FALSE, message=FALSE}
# Prepare data: count reservations by market segment
market_segment_dist <- data %>%
group_by(market_segment) %>%
summarize(count = n())
# Create a pie chart
pie_chart <- ggplot(market_segment_dist, aes(x = "", y = count, fill = market_segment)) +
geom_bar(stat = "identity", width = 1) +
coord_polar("y", start = 0) +
labs(title = "Market Segment Distribution",
x = "",
y = "") +
theme_minimal() +
theme(axis.line = element_blank(),
axis.text = element_blank(),
axis.ticks = element_blank())
# Print the chart
print(pie_chart)
```
### **Revenue Breakdown by Customer Type** {data-width=900}
```{r echo=FALSE, warning=FALSE, message=FALSE}
revenue_by_customer_type <- data %>%
group_by(customer_type) %>%
summarise(total_revenue = sum(adr, na.rm = TRUE))
ggplot(revenue_by_customer_type, aes(x = customer_type, y = total_revenue, fill = customer_type)) +
geom_bar(stat = "identity") +
theme_minimal() +
labs(title = "Revenue Breakdown by Customer Type", x = "Customer Type", y = "Total Revenue")
```
### **Reservations per month (by year)** {data-width=1400}
```{r echo=FALSE, warning=FALSE, message=FALSE, fig.width=16}
staypermonth <- data %>%
dplyr::filter(is_canceled == 0, country != "NULL") %>%
dplyr::select(year, hotel, arrival_date_month, country)
staypermonth_agg <- staypermonth %>% group_by(year, hotel, arrival_date_month) %>% summarise(count = n())
ggplot(data = staypermonth_agg, aes(x = arrival_date_month, y = count, fill = as.factor(year))) +
geom_bar(position="dodge", stat="identity") +
facet_wrap(.~hotel) +
xlab("Months") +
ylab("Number of Stays") +
theme_minimal() +
theme(axis.text.x = element_text(angle = 90, hjust = 1)) +
guides(fill=guide_legend(title="Year"))
```
# Conclusion
### **Conclusion**
The analysis of the hotel booking dataset provides valuable insights into various aspects of hotel operations and customer behavior. Key findings from the visualizations and data analysis include:
**ADR Trends**: The Average Daily Rate (ADR) shows significant seasonal variation, with distinct peaks and troughs throughout the year. This information can help hotel management optimize pricing strategies during high and low demand periods to maximize revenue.
**Market Segment Distribution**: The pie chart on market segment distribution highlights the diverse sources of hotel bookings. This insight helps in tailoring marketing efforts and partnership strategies to target the most profitable segments effectively.
**Revenue Breakdown by Customer Type**: The visualization shows how much revenue each customer type contributes. It helps identify the most profitable customer segments. If transient customers generate the most revenue, it suggests focusing marketing efforts on attracting more of these customers. Conversely, if corporate or group customers bring in significant revenue, offering more tailored packages to these segments might be beneficial.
**Reservations per month (by year)**: Analyzing reservations per month by each year provides valuable insights into seasonal booking patterns, trends over time, and the impact of events or seasons on demand. This analysis helps hotels make informed decisions regarding pricing, staffing, and marketing to effectively manage their operations and meet the needs of their guests.