BnBInsight
Airbnb Short-Term Rental Pricing Analysis
Overview
BnBInsight is a Python package that demonstrates the full data-science pipeline for analysing short-term rental pricing on Airbnb.
The package lets you:
- Collect raw listing data from a Kaggle CSV and the AirROI API
- Clean messy price, rating, and bedroom columns
- Engineer features like amenities count and log-price
- Analyse pricing drivers with OLS regression
- Visualise distributions and relationships
- Explore results interactively via a Streamlit dashboard
Hypothesis
Listings with more bedrooms, higher ratings, and more amenities have significantly higher nightly prices.
Model: log_price ~ bedrooms + rating + amenities_count
Install from PyPI
The easiest way to use BnBInsight is to install it directly from PyPI:
python -m venv myenv
source myenv/bin/activate # macOS / Linux
# myenv\Scripts\activate # Windows
pip install bnbinsight
python -c "import bnbinsight; print('works')"Quick Start (from source)
git clone https://github.com/mbgardin/BnBInsight.git
cd BnBInsight
pip install -e .
python scripts/clean_data.py
python scripts/run_analysis.py
streamlit run app/streamlit_app.pyLinks
| Resource | URL |
|---|---|
| GitHub Repository | github.com/mbgardin/BnBInsight |
| Live Streamlit Dashboard | bnbinsight.streamlit.app |
| PyPI Package | pypi.org/project/bnbinsight |
See the Tutorial for a step-by-step walkthrough, or jump straight to the Report for findings.