- [Instructor] Now there's several tools that we can use…to import data in Neo4j, but for this task…we'll make use of LOAD CSV.…LOAD CSV is a functionality built into Cypher…that allows us to stream the results of a CSV file…as an object to the rest of our Cypher statement…so we can use the same ASCII art style graph patterns…to create data, iterating over each row in the CSV file.…Let's see how this works.…So if we're inspecting our CSV file previously,…we saw that it had headers,…so we'll use the WITH HEADERS statement here,…and I copied the name of the CSV file earlier…when we moved it.…
Notice here that we specify the CSV file…just at the root level.…By default, Neo4j assumes this is relative…to the import directory that we created…within the Neo4j database directory.…So we specify the location for our CSV file,…and then we need to create an alias or a variable…to refer to the object that represents each row…of the CSV file that we iterate over.…In this case, we'll call it row.…
Now, let's just return the first five rows…
- Strengths and weaknesses of Neo4j
- Data modeling
- Creating a database
- Joining data sets
- Modeling data for joining data sets
- Searching a database
- CRUD operations
- Performing calculations
Skill Level Intermediate
1. Neo4j in Five Minutes
A brief overview of Neo4j3m 23s
2. Create a Database
3. Join Two Datasets
4. Search a Database
5. Create, Read, Update, and Delete Operations
6. Averages and Calculations
Next steps1m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.