Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mneedham/yelp-graph-algorithms
https://github.com/mneedham/yelp-graph-algorithms
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mneedham/yelp-graph-algorithms
- Owner: mneedham
- Created: 2018-03-05T08:54:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:26:39.000Z (about 2 years ago)
- Last Synced: 2024-04-14T09:10:06.711Z (9 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 27
- Watchers: 4
- Forks: 23
- Open Issues: 8
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Yelp Dataset Graph
* Download the JSON version of the https://www.yelp.co.uk/dataset/download[Yelp Dataset Challenge^] and extract it into the `dataset` directory
* Run the following command to extract cities, areas, and countries:
```
python lat_long_expansion.py
```* Run the following command to create Neo4j Import Tool CSV files:
```
python json_to_csv.py
```* Navigate to the Neo4j home directory and run the following command:
```
sh /path/to/import.shNeo4j version: 3.3.4
Importing the contents of these files into /path/to/data/databases/yelp.db:
```* Update the neo4j.conf file to contain this line:
```
dbms.active_database=yelp.db
```* Restart Neo4j and we're good to go