Create a sqlite database of the Yelp open dataset found here: https://www.yelp.com/dataset
business.json
, users.json
, reviews.json
checkin.json
, tips.json
, photos.json
database:
database_file_path:
path_to_database_file
raw_data_folder_path:
path_to_raw_data_folder
python database.py path_to_yaml_file
python database.py -h
from database import YelpDataBase
ydb = YelpDataBase(path_to_config_yaml_file)
statement = """SELECT * FROM users"""
ydb.execute_sql_statement(statement, as_frame=True)