Coder Social home page Coder Social logo

neo4j-flights's Introduction

flight_graph

A Neo4j graph database of flight data.

Create the DB

Data is located here. Select the pre-zipped checkbox and download. Unzip the file. Make sure you're pointing to the correct file name at line 8 of import.py.

Also download the lookup tables for UniqueCarrier and OriginAirportID. Save these as .csv, not .csv-. They should be called L_UNIQUE_CARRIERS.csv and L_AIRPORT_ID.csv.

python schema.py
python import.py
python import_lookups.py

To run the above scripts you will need to install the following python packages if you don't have them installed already.

pip install py2neo
pip install unicodecsv

Query

Watch Intro to Cypher with this dataset here. Queries are located in queries.

neo4j-flights's People

Contributors

tim-ojo avatar

Stargazers

abhishake bansal avatar

Watchers

 avatar

Forkers

python-725

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.