This project aims to investigate the differences between these two types of hotels on data and information available in the dataset.
City hotel would be just a place for lodging, but resort hotel would be near coastal regions, rain forests, theme parks, or having in-house entertainment facilities for relaxation purposes. We will have some insightful results after exploring their differences in the reservation, administration, marketing statistics, and disparities.
Additionally, to maximize the revenue gained, the management often employed a pricing strategy One of them is raising the room rate when the demand is high and makes a promo when the demand is low. Thus, the ability to accurately forecast future demand is an important and vital part of the pricing scheme.
if(!require("pacman")) install.packages("pacman")
pacman::p_load(dplyr, ggplot2, readr, kableExtra, skimr, ggsci,
forcats, treemapify, ggpubr, scales, gghalves, stringr,
caret, reshape2, broom, caTools, caret, rpart, RWeka,
randomForest, party, gbm, ada, e1071, highcharter,
tidyr, lubridate, padr, forecast, tibble, purrr, readr,
DMwR, stats)
# install.packages("C:/Users/andy/Desktop/BP/TEMP/DMwR_0.4.1.tar.gz",
# repos = NULL,
# type = "source")
Let us set up the working environment and be ready for the analysis.
This dataset records 119,390 rows of booking data and 32 columns of variables for two hotels, which are city and resort, from 2014 to 2017. Two anonymous hotels are city hotel from Lisbon Portugal and resort hotel from Algarve Portugal.