Importing data

The process of importing or loading data requires you to create an AuraDB instance beforehand.

There are two ways you can import data from a CSV file into an AuraDB instance:

  • Load CSV - A Cypher statement that you run from Neo4j Browser or Neo4j Cypher Shell.

  • Neo4j Data Importer - A visual application that you launch from the Console.

Load CSV

The LOAD CSV Cypher statement can be used from within Neo4j Browser and Cypher Shell. For instructions on how to open an AuraDB instance with Browser or Cypher Shell, see Connecting to an instance.

There are some limitations to consider when using this method to load a CSV file into an AuraDB instance:

  • For security reasons, you must host your CSV file on a publicly accessible HTTP or HTTPS server. Examples of such servers include AWS signed URLs, GitHub, Google Drive, and Dropbox.

  • The LOAD CSV command is built to handle small to medium-sized data sets, such as anything up to 10 million nodes and relationships. You should avoid using this command for any data sets exceeding this limit.

Neo4j Data Importer

Neo4j Data Importer is a UI-based tool for importing data that lets you:

  1. Load data from flat files (.csv and .tsv).

  2. Define a graph model and map data to it.

  3. Import the data into an AuraDB instance.

To load data with Neo4j Data Importer:

  1. Navigate to the Neo4j Aura Console in your browser.

  2. Select the Import button on the instance you want to open.

Alternatively, you can access Data Importer from the Import tab of Neo4j Workspace.

For more information on Neo4j Data Importer, see the Neo4j Data Importer documentation.

You must provide your AuraDB instance password before importing from the Neo4j Data Importer.

RDFlib

RDFLib is a Neo4j Labs project that enables the import of RDF data, including JSON-LD, to Aura via a Python library.

This is a Labs project and, therefore, not fully supported by Neo4j. It may become outdated over time.