From 56976c4beaa6209b21c32fbe122eaf81388ef40d Mon Sep 17 00:00:00 2001 From: David Baker Effendi Date: Tue, 17 Mar 2020 16:33:38 +0200 Subject: [PATCH] FIX: Addresses are now added to business nodes --- neo4j_yelp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo4j_yelp.py b/neo4j_yelp.py index 4c8e446..d0bb4f8 100644 --- a/neo4j_yelp.py +++ b/neo4j_yelp.py @@ -16,7 +16,7 @@ 'CALL apoc.load.json(\'file:///business.json\') YIELD value RETURN value ' '"," ' 'MERGE (b:Business{id:value.business_id}) ' - 'SET b += apoc.map.clean(value, [\'business_id\',\'categories\',\'address\',\'postal_code\'],[]) ' + 'SET b += apoc.map.clean(value, [\'business_id\',\'categories\',\'postal_code\'],[]) ' 'WITH b,value.categories as categories ' 'UNWIND categories as category ' 'MERGE (c:Category{id:category}) '