- Simon Fraser University
- CMPT 353 D100: Computational Data Science
- Instructor: Steven Bergner
- Teaching Assistants: Arshdeep Singh Ahuja, Tiange Wan
- start back-end express.js server
cd server && npm start
- start front-end react
cd client && npm start
- Jarell Santella
- Gloria Yoon
- Kukjin Kim
See contributions.
This project helps you find an ideal Airbnb for you in the Vancouver area. Given what amenities prioritize most (restaurants, tourist attractions, etc.) as well as the ratings of the Airbnb, the project will recommend you what Airbnb listings you should pick on. Furthermore, the project maps these amenities as well as the Airbnb listings on a map for easy visualization.
- Using command line, run
python3 find_hotel.py
in the directory that the project is in. - You will be asked for user input on what you prioritize most around your Airbnb.
- After entering what you prioritize most, generate Airbnb suggestions. Two files are generated (see generated):
top-airbnbs.csv
top-amenities.csv
- Using command line again, run
python3 map_visual.py top-airbnbs.csv top-amenities.csv
in the directory that the project is in. - One file,
result.html
, is generated. Visualizing the map of Vancouver with amenities and the recommended Airbnb listings.
- Provided data by instructor using OSM (file
amenities-vancouver.json.gz
) - Data collected online
See references.
- File
top-airbnbs.csv
: the top 5 Airbnb listings recommended to the user - File
top-amenities.csv
: the amenities around the Airbnb listings recommended to the user
- Jarell Santella: Read Vancouver data on Airbnb listings, parks, and OSM amenities data into Python, clean the data, and interpret the data. Gets user input on priorities to pass into algorithm which recommends them which Airbnb listing is best for them. Cleaning, debugging and refactoring code. Helping write README.md and report.
- Gloria Yoon: Calculated distances between relevant amenities and Airbnbs determined by user input and given neighbourhood data. Refined clean data by grouping OSM data, neighbourhood and Airbnb listings based on user preferences and its calculated distances to listings in the neighbourhood.
- Kukjin Kim: Read top 5 airbnb and amenities data paseed by the algorithm. Plot 5 airbnb with information and distance circle in OSM. Plot amenities with information within 3km from airbnb after claculation. Add legen and minimap in OSM. Make html file with OSM. Helping write README.md and report.
- OSM data, already cleaned for Vancouver: https://coursys.sfu.ca/2021fa-cmpt-353-d1/pages/ProjectTourData/download
- Airbnb rental listings for Vancouver: http://data.insideairbnb.com/canada/bc/vancouver/2021-11-06/data/listings.csv.gz
- Parks in Vancouver: https://opendata.vancouver.ca/explore/dataset/parks/download/?format=csv&timezone=America/Los_Angeles&lang=en&use_labels_for_header=true&csv_separator=%3B