Airbnb Accommodation in Two Sardinian Cities
The airbnb.ac
data frame has 18159 rows and 9 columns.
data(airbnb.ac)
This data frame contains the following columns:
length of stay, in days.
Multiplicative factor for the discount for booking one week: 1 - (published weekly rate) / (7 x published nightly rate), e.g., 0.2 means a 20 percent savings off the regular price.
Number of reviews on the website.
Average price per night per person, in Euros.
Number of bedrooms.
Logical. Superhost?
Minimum stay period, in days.
Maximum number of guests.
Character, values are "Alghero"
and "Cagliari"
.
The data frame comprises Airbnb bookings in two
cities located in Sardinia, Italy.
The stays were during the whole of 2016.
Stays of 30 days or longer
and any rows with missing variables
were deleted from the original source.
Variable LOS
exhibits heaping at the values 7 and 14 days.
The data was obtained with permission from Luca Frigau, University of Cagliari, from https://www.airbnb.com.
## Not run: mytab <- with(subset(airbnb.ac, City == "Alghero"), table(LOS)) plot(prop.table(mytab), col = "blue", ylab = "Proportion") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.