Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mneedham/yelp-graph-algorithms


https://github.com/mneedham/yelp-graph-algorithms

Last synced: 12 days ago
JSON representation

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.sh

Neo4j 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