Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

airbnb.ac

Airbnb Accommodation in Two Sardinian Cities


Description

The airbnb.ac data frame has 18159 rows and 9 columns.

Usage

data(airbnb.ac)

Format

This data frame contains the following columns:

LOS

length of stay, in days.

discountWeek

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.

NumberofReviews

Number of reviews on the website.

PriceAvg

Average price per night per person, in Euros.

Bedrooms

Number of bedrooms.

Superhost

Logical. Superhost?

MinimumStay

Minimum stay period, in days.

MaxGuests

Maximum number of guests.

City

Character, values are "Alghero" and "Cagliari".

Details

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.

Source

The data was obtained with permission from Luca Frigau, University of Cagliari, from https://www.airbnb.com.

See Also

Examples

## Not run: 
mytab <- with(subset(airbnb.ac, City == "Alghero"), table(LOS))
plot(prop.table(mytab), col = "blue", ylab = "Proportion")

## End(Not run)

VGAMdata

Data Supporting the 'VGAM' Package

v1.1-5
GPL-2
Authors
Thomas Yee [aut, cre, cph], James Gray [dtc]
Initial release
2021-01-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.