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}) '