The APOC library is a Neo4j extension that contains several tools to ease working with this database:
- Data import and export: from and to different formats like CSV and JSON but also HTML or a web API
- Data structure: advanced data manipulation, including type conversion functions, maps, and collections management
- Advanced graph querying functions: tools to enhance pattern matching, including more conditions
- Graph projections: with virtual nodes and/or relationships
The first implementations of graph algorithms were done within that library, even if they have now been deprecated in favor of a dedicated plugin we will discover in part 2 of this book.
We will only detail in this section the tools related to data import, but I encourage you to take a look at the documentation to learn what can be achieved with this plugin: https://neo4j.com/docs/labs/apoc/current/.
When executing the code in the rest of this chapter, you may get an error saying the following:
...