Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #223 from neo4j-contrib/import_folder_links
Browse files Browse the repository at this point in the history
Fix some links and add import folder resources to various places
  • Loading branch information
JMHReif authored Jun 5, 2020
2 parents 16e52c4 + 07754db commit 0220422
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 22 deletions.
3 changes: 2 additions & 1 deletion aura-cloud-dbaas/aura-cypher-shell/cypher-shell.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ neo4j> CALL dbms.showCurrentUser();
We could also pipe a file containing Cypher commands to the Cypher Shell command.
This feature is useful for doing data import.

We have a file `import.cypher` that contains some of the Cypher statements from the https://neo4j.com/developer/graph-model-refactoring/[Graph Model Refactoring^] developer guide.
We have a file `import.cypher` that contains some of the Cypher statements from the link:/developer/graph-model-refactoring/[Graph Model Refactoring^] developer guide.
We can view the contents of that file by executing the following command from the terminal:

[source,bash]
Expand All @@ -147,6 +147,7 @@ MATCH (:Airport)-[connectedTo:CONNECTED_TO]->(:Airport)
CALL apoc.refactor.normalizeAsBoolean(connectedTo, "diverted", ["1"], ["0"])
RETURN count(*)
----

Now we're going to import this data into our Neo4j Cloud database, via the Cypher Shell command.
We'll do this by executing the following:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ Other factors that can be easily integrated in this query are favorites, allergi

* https://medium.com/neo4j/whats-cooking-approaches-for-importing-bbc-goodfood-information-into-neo4j-64a481906172[Recipe and Food Recommendations^]
* link:/sandbox/[Sandbox: Recommend Movies by Reviews^]
* link:/graphgist/beer-amp-breweries-graphgist[GraphGist: Beer and Breweries Recommendations^]
* link:/graphgist/northwind-recommendation-engine[GraphGist: Northwind Product Recommendations^]
* link:/graphgist/beer-amp-breweries-graphgist/[GraphGist: Beer and Breweries Recommendations^]
* link:/graphgist/northwind-recommendation-engine/[GraphGist: Northwind Product Recommendations^]

[#recommendation-resources]
== Resources
Expand Down
14 changes: 7 additions & 7 deletions cypher/guide-sql-to-cypher/guide-sql-to-cypher.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ Those files can come from single tables, but might also represent a set of joine

They can be imported by using Cypher's `LOAD CSV` capability, which we explain in detail in these guides:

* link:/developer/working-with-data/guide-importing-data-and-etl["Guide: Data Import",role=guide]
* link:/developer/guide-importing-data-and-etl/["Guide: Data Import",role=guide]
* http://watch.neo4j.org/video/112447027["Webinar: Data Import",role=video]
* link:/developer/working-with-data/guide-import-csv["Guide CSV Import",role=guide]
* link:/developer/guide-import-csv/["Guide CSV Import",role=guide]
If you are a developer you can also just connect to the relational database with your regular driver, load the data from there with SQL.
And directly create the graph structure by using a Neo4j driver for your stack to send the equivalent, parametrized Cypher update statements to Neo4j.
Expand Down Expand Up @@ -219,7 +219,7 @@ _Indexing_

// table

If you want to match quickly by this node-label and attribute combination, it makes sense to create an index for that pair, if you haven't during the link:/developer/working-with-data/guide-importing-data-and-etl[import].
If you want to match quickly by this node-label and attribute combination, it makes sense to create an index for that pair, if you haven't during the link:/developer/guide-importing-data-and-etl/[import].

[source, cypher]
----
Expand Down Expand Up @@ -456,10 +456,10 @@ If you are intrigued by the possibilities and want to try and learn more, just l

Learn Cypher:

* link:/developer/cypher/cypher-query-language[Cypher Intro Guide]
* link:/online-course[Interactive Online Course]
* link:/developer/cypher/cypher-query-language/[Cypher Intro Guide]
* link:/online-course/[Interactive Online Course]
* {cyphermanual}[Cypher Manual^]
* link:/docs/cypher-refcard/current/[Reference Card]
* link:/docs/cypher-refcard/current/[Reference Card^]

////
Expand Down Expand Up @@ -491,4 +491,4 @@ discuss graph patterns with relationships

[#cypher-resources]
== Resources
* link:/developer/get-started/graph-db-vs-rdbms["Data Model Transformation",role=guide]
* link:/developer/graph-db-vs-rdbms/["Data Model Transformation",role=guide]
2 changes: 1 addition & 1 deletion cypher/procedures-functions/procedures-functions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It also covers existing, widely used procedure libraries

.Prerequisites
[abstract]
You should have learned to read and write statements in link:/developer/cypher/cypher-query-language[Cypher] and seen the need for additional capabilities.
You should have learned to read and write statements in link:/developer/cypher/cypher-query-language/[Cypher] and seen the need for additional capabilities.

[role=expertise]
{level}
Expand Down
8 changes: 7 additions & 1 deletion data-import/desktop-csv-import/desktop-csv-import.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,16 @@ image::{img}desktop_open_folder.jpg[link="{img}desktop_open_folder.jpg",role="po

Choose the `Import` folder.
This will open up another Finder window on the Mac.
//TODO: add in Windows version here!!!

image::{img}desktop_import_folder.jpg[link="{img}desktop_import_folder.jpg",role="popup-link"]

[NOTE]
--
In Neo4j Desktop, it's easiest to use the above navigation to get to folders, but you can also find information on full paths in the link:/docs/operations-manual/current/configuration/file-locations/[documentation^].
Note that the <neo4j-home> path will vary depending on if the install directory for Neo4j Desktop was customized.
If in the default install location, you can find import folder paths shown in link:/developer/kb/import-csv-locations/[this article^].
--

Now you can click on the other Finder window where the zip file downloaded and move the entire .zip file to the folder Neo4j Desktop opened.
You should see something like this when you are finished.

Expand Down
7 changes: 5 additions & 2 deletions data-import/guide-import-csv/guide-import-csv.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Our link:/docs/cypher-manual/current/[Cypher manual^] contains a page devoted to
It is simple to use and widely applicable.
`LOAD CSV` is not just your basic data ingestion mechanism because it combines multiple aspects into a single operation.

* Supports loading / ingesting CSV data from an URI
* Supports loading / ingesting CSV data from a URI
* Directly maps input data into complex graph/domain structure
* Handles data conversion
* Supports complex computations
Expand All @@ -71,7 +71,8 @@ This can be an easy thing to miss and end up with an access error, so we will tr
Neo4j security has a default setting that local files can only be read from the Neo4j import directory, which is different based on your operating system.
File locations for each OS are listed in our {opsmanual}/configuration/file-locations[Neo4j Operations Manual^].
We recommend putting files in Neo4j's _import_ directory, as it keeps the environment secure.
However, if you need to access files in other locations, you can find out which setting to alter in our link:/docs/cypher-manual/current/clauses/load-csv/#query-load-csv-introduction[manual^].
However, if you need to access files in other locations, you can find out which setting to alter in our {cyphermanual}/clauses/load-csv/#query-load-csv-introduction[manual^].
Default import folder paths shown in link:/developer/kb/import-csv-locations/[this article^].

.Examples
[source,cypher]
Expand Down Expand Up @@ -408,3 +409,5 @@ LIMIT 5;
* {opsmanual}/tutorial/import-tool/[Manual: Import Tool Tutorial^]
* link:/developer/kb/?tag=load-csv[Knowledgebase Articles: LOAD CSV^]
* link:https://github.com/neo4j-contrib/northwind-neo4j[GitHub project: Northwind CSV files^]
* {opsmanual}/configuration/file-locations[Manual: Neo4j File Locations^]
* link:/developer/kb/import-csv-locations/[Knowledgebase: Default Import Folder Path^].
8 changes: 4 additions & 4 deletions get-started/get-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Take your first steps to become an expert Neo4j developer.

1. link:/download/[Install Neo4j^] or link:/sandbox/[Start a Sandbox Online^]
2. link:/developer/cypher/[Learn to Create and Query Data with Cypher^]
3. link:/developer/working-with-data/guide-importing-data-and-etl/[Import Your Data^]
3. link:/developer/guide-importing-data-and-etl/[Import Your Data^]
4. link:/developer/language-guides/[Build an Application^]
5. Get Help on our https://community.neo4j.com[Neo4j Online Community^]
Expand All @@ -49,7 +49,7 @@ With a powerful and flexible data model, you can represent your real-world, vari
</div>
++++

link:/developer/get-started/graph-database/[Learn More: What is a Graph Database?^, role="button feature-box_button"]
link:/developer/graph-database/[Learn More: What is a Graph Database?^, role="button feature-box_button"]

[#graph-platform]
== Neo4j Graph Platform
Expand Down Expand Up @@ -91,7 +91,7 @@ As one of our customers said of graph visualization, "I can look at a graph of t
Neo4j offers methods for visualizing data, such as Neo4j Browser for developers, Neo4j Bloom for analysts and others looking for natural language search, and libraries for developers to embed graphs directly into their applications.
We also have several partners providing additional options in this space to fit a variety of visualization needs.

link:/developer/working-with-data/guide-data-visualization/[Learn More: Graph Visualization^, role="button feature-box_button"]
link:/developer/guide-data-visualization/[Learn More: Graph Visualization^, role="button feature-box_button"]

=== Data Import

Expand All @@ -102,7 +102,7 @@ Our goal in this area to help developers transfer some of their own relevant dat
We also have options for other types of data import, including integrations with other vendor products and tools.
This area aids businesses to transport data from technology to technology as easily and smoothly as possible.

link:/developer/working-with-data/guide-import-csv/[Learn More: Data Import^, role="button feature-box_button"]
link:/developer/guide-import-csv/[Learn More: Data Import^, role="button feature-box_button"]

=== Drivers for Popular Programming Languages

Expand Down
6 changes: 3 additions & 3 deletions graph-platform/neo4j-etl/neo4j-etl.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ You will understand how the data model is transformed behind-the-scenes and how

.Prerequisites
[abstract]
You should be familiar with Neo4j's link:/developer/get-started/graph-database#property-graph[property graph data model] and relational databases.
It is also helpful to have read the link:/developer/get-started/graph-db-vs-rdbms/[Concepts: Relational to Neo4j guide].
You should be familiar with Neo4j's link:/developer/graph-database#property-graph[property graph data model] and relational databases.
It is also helpful to have read the link:/developer/graph-db-vs-rdbms/[Concepts: Relational to Neo4j guide].
We will focus on how to use this tool through the Neo4j Desktop application, so you should also know how to use the basic functionality of link:/developer/neo4j-desktop/[Neo4j Desktop].

[role=expertise]
Expand Down Expand Up @@ -87,7 +87,7 @@ image::{img}etl3_allow_background_procs.jpg[link="{img}etl3_allow_background_pro

On this screen, a default project should show and the database instances in that project.
If you do not have any graph database instances created, you will see an image like the one below.
You will need to link:/developer/graph-platform/neo4j-desktop/#desktop-create-db[create a graph^] before the next steps with the ETL tool.
You will need to link:/developer/neo4j-desktop/#desktop-create-db/[create a graph^] before the next steps with the ETL tool.
The ETL Tool supports local and remote instances (including link:/aura/[Neo4j Aura^]).

image::{img}etl_no_db_instances.jpg[link="{img}etl_no_db_instances.jpg",role="popup-link"]
Expand Down
2 changes: 1 addition & 1 deletion resources/browser-guide-list/browser-guide-list.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Neo4j Browser provides many interactive guides for learning concepts and tools w
From data import to graph algorithms to working with RDF data, there is likely an interactive browser guide out there to walk through it.

If there isn't one that fits your needs, you can create one and publish it to the community or internally at your company.
For more information on how to do that, check out our guide for link:/developer/guide-create-neo4j-browser-guide[creating a custom Browser guide].
For more information on how to do that, check out our guide for link:/developer/guide-create-neo4j-browser-guide/[creating a custom Browser guide].

[#built-in]
== Neo4j Browser built-in guides
Expand Down

0 comments on commit 0220422

Please sign in to comment.