The dataset used for this project is available at: Airbnb Ratings Dataset
Our project is hosted on: Airbnb Ratings Streamlit App
- Run the
pahse2_preprocessing.ipynb
notebook. - This will generate
airbnb_sample.csv
, which is the processed data for our database.
- Open the query tool in pgAdmin.
- Open
create.sql
and execute it.- This script will create all the required tables.
- Open
load.sql
and execute it.- This script will insert all the required production data into the tables.
- Run
insert.sql
for inserting single records. - Run
update.sql
for updating single records. - Run
alter.sql
for altering single records. - Ignore
mile1.sql
, as it's the old script for phase 1.
- Explore the interesting outputs and insights from the database by running individual queries from
all_queries.sql
. - Use
problematic.sql
to identify and visualize query flows by highlighting each query and clicking on the explain button.
- Utilize the backup dump file to recreate the database in pgAdmin.
- Run
pgadmin_to_sql_db.ipynb
to generate a new database file for the Streamlit app.- This step eliminates the need for hosting a pgAdmin server.
- Execute
streamlit run home.py
command to launch the Streamlit app. - Enjoy exploring the app!