https://github.com/crmawande/airbnb_datamart_iubh
This repository includes an enhanced-entity-relationship diagram resembling Airbnb's database structure, along with SQL code used to construct a similar schema resembling Airbnb's setup using MySQL Workbench.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.0%) to scientific vocabulary
Keywords
Repository
This repository includes an enhanced-entity-relationship diagram resembling Airbnb's database structure, along with SQL code used to construct a similar schema resembling Airbnb's setup using MySQL Workbench.
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
airbnbdatamartiubh
1. Overview
Online hotel reservation platforms have completely transformed the travel business by offering a quick and easy way to book lodging. Forecasts reveal a notable upward trend for the worldwide online hotel reservation industry, highlighting the noteworthy economic impact of these platforms. One of the leaders in this field, Airbnb, provides a variety of unusual lodging options, including houseboats, historic homes, and treehouses. Personalized interactions and recommendations are fostered by facilitating direct connection between hosts and visitors. Streamlining data analysis and reporting using a data mart will improve strategic planning and decision-making in the online hotel booking industry. The goal of this project is to create a data mart that draws inspiration from the unique features and design concepts of Airbnb.
2. Enhanced Entity Relationship EER Diagram
3. Data Dictionary
The following tables have been revised in the finalization phase to reflect the database current state. You can also find the Excel file in the documents folder. The script airbnbdatadictionary.xlsx can be run in a query to output the table.
4. How to get started
A. Requirement:
This database requires MySQL Workbench to be set up. From the official page that corresponds to your operating system, download and install it: https://dev.mysql.com/downloads/workbench/
B. Getting Your Database Connected:
- Locate the Connections area of MySQL Workbench, which is normally located on the left side of the interface.
- Press the button with the addition sign (+) to establish a new connection.
- Enter the hostname, username, and password for your connection.
- Give your connection a catchy name
- Make sure the data is correct by choosing "Test Connection." After the validation is complete, click "OK" to save the configuration.Installing and setting up the project:
c. Installing and setting up the project:
- Go to https://github.com/CRMawande/airbnbdatamartiubh.git to access the project's GitHub repository.
- To obtain the project files in ZIP format, go to the "Code" section and choose "Download ZIP."
- Extract the ZIP file after downloading, then go to the Finalization directory.
- Look for the airbnb_schema.sql file. Run this file in your MySQL environment to create the Airbnb database schema. (Execution instructions may differ based on how your MySQL Workbench is configured.)
- Now you can interact with the 'airbnb' and see the tables/views under airbnb > Schemas > Tables and/or Views.
- E.g. see the View of PropertyPerformanceView under Views.sql
5. Example Queries
6. Conclusion
The SQL Datamart Airbnb project has been an invaluable learning experience. Through this project, I have gained a solid understanding of how to effectively JOIN tables using primary and foreign keys, design many-to-many tables for lookups, and utilize SELECT, GROUP BY, and other SQL statements. This hands-on experience has provided me with the skills necessary to construct a robust, real-world database using advanced database systems.
Owner
- Name: Charmaine
- Login: CRMawande
- Kind: user
- Repositories: 1
- Profile: https://github.com/CRMawande
Currently studying a BSc Data Science at IU
GitHub Events
Total
- Issues event: 1
Last Year
- Issues event: 1