Interview Query
~4 hrs
SQLAnalyticsBusiness CaseData Viz & InterpretationStatistics

WanderJaunt Data Science Challenge

Estimate occupancy and revenue from messy scraped Airbnb availability and price data for the Phoenix market, separating real bookings from host blocks and comparing months and bedroom counts.

WanderjauntWanderjaunt
Data AnalystData Scientist
Updated 7 days agoReviewed byIQIQ Team

Overview

Data on short-term rental prices and occupancy is very important to WanderJaunt. It helps inform how competitors are pricing, which influences pricing strategy, and helps benchmark occupancy and revenue per available room against similar properties. In addition, it provides key inputs to decisions about which locations and markets to enter and what types of properties can be the most profitable.

Clean data on performance in the short-term rental market can be hard to obtain, but signals can be derived from the public posting of price and availability on public platforms like Airbnb. Though messy, scraping this data is possible. The dataset provided is the daily scraped availability and price for Airbnb listings in the Phoenix market for all dates from 4/1/18 to 5/31/18. The two data tables provided as flat CSV files are structured as follows:

Data

scraped_listings.csv

This table has 1 row for each scraping_id (rentable unit at a property) with various information about that listing. The listings have been filtered to include only units that are entire homes / apartments for rent (not individual / shared rooms). See below for details on the fields in this table:

FieldDescription
scraping_idID key for the unit that joins to the scraped_data.csv table
listingURL link to the Airbnb posting
cityName of city within the Phoenix market
lonLongitude of the unit rented
latLatitude of the unit rented
mapped_locationA Google Maps URL of the unit's location
namePosting name
capacityNumber of people the unit is said to accommodate
bathroomsNumber of bathrooms at unit
bedroomsNumber of bedrooms at unit
has_pool1 if unit has pool listed as amenity; 0 if does not
cleaning_feeThe amount in dollars charged at checkout to cover cleaning cost
is_superhost1 if the host account is a superhost; 0 if not

scraped_data.csv

This table has the availability and price of all listings for April to May 2018. This data is scraped daily and the results for each day between 3/15/18 and 5/31/18 are provided in this table. See below for details on fields:

FieldDescription
scraping_idID key for the unit that joins to the scraped_listings.csv table
scraped_dateDate the information was scraped
dateDate of the night to be booked
pricePrice in dollars of the night (excluding taxes/fees/cleaning)
available1 if unit is available to be booked; 0 if not

Notes

The scraped data is messy and available = 0 may not necessarily mean the unit was booked and generated revenue. Hosts may block dates or ranges of dates as unavailable. You may want to consider building logic to exclude what you suspect to be a block from revenue and occupancy calculations.

Questions to Answer

  1. What data would you exclude from analysis for being unreliable or potentially a block instead of an actual booking?
  2. What is a good approach to estimate occupancy and revenue per unit?
  3. Which month appears to be more profitable: April or May?
  4. How much more revenue do places with 3 bedrooms make vs. places with 2 bedrooms?
  5. What are any other interesting insights you may have found?

Deliverable

Submit a single PDF containing:

  • Written answers to all five questions above, with supporting reasoning
  • All code used in your analysis (embedded in the PDF and written so it can be re-executed to regenerate every result, table, and chart)
  • All relevant outputs: tables, visualizations, and any other supporting artifacts
Download project files