项目作者: dheerajgoudb

项目描述 :
高级语言: Python
项目地址: git://github.com/dheerajgoudb/ETL-process-on-Yelp-Data.git
创建时间: 2017-07-27T01:39:34Z
项目社区:https://github.com/dheerajgoudb/ETL-process-on-Yelp-Data

开源协议:

下载


Files Included:

DataCollection_YelpAPI.py

DataLoading.py

Steps to execute the files:
-> Requirements:
MySQL Server/MySQL Workbench
Python 2.7/PyCharm with python 2.7

-> Include the credentials, mainly cleint_id and client_secret in the code.
You can find them on https://www.yelp.com/developers/v3/manage_app

-> Change the database name and credentials of the MySQL server.

-> Run the DataCOllection_YelpAPI.py file

->In command prompt, you can run the file as: python DataCollection_YelpAPI.py (default values for term and location are “lunch” and “Dallas, TX”)

-> In command prompt, you can run the file by passing command line arguments as:
python DataCollection_YelpAPI.py —term=”dinner” —location=”chicago,IL”

-> Creating a project in PyCharm and copying the files and run the DataCollection_YelpAPI.py