GithubHelp home page GithubHelp logo

wine's People

Contributors

lju-lazarevic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wine's Issues

Creating relationships with Neo4j 5.0

Hello, did anyone tried to migrate to neo4j 5 a script that establish relationships? It does exceed my cipher for neo4j skills.
I am fully aware of how commit got obsolete and replaced it with a statement call {...} in transactions, but chained CASE statements got stopped me.

:auto //add this line if you're using Neo4j Browser
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM 'https://raw.githubusercontent.com/lju-lazarevic/wine/master/data/winemag-data-130k-v3.csv' AS row
FOREACH (i IN
CASE WHEN row.designation IS NOT NULL
THEN [row.designation]
ELSE ["No Designation"]
END | MERGE (d:Designation {name:i}))
FOREACH (i IN
CASE WHEN row.taster_name IS NOT NULL
THEN [row.taster_name]
ELSE ["No Taster"]
END | MERGE (t:Taster {name:i}))
FOREACH (i IN
CASE WHEN row.variety IS NOT NULL
THEN [row.variety]
ELSE ["No Variety"]
END | MERGE (v:Variety {name:i}))
CREATE (w:Wine {id:row.id, title:row.title})

GitHub resource didn't resolve

Excellent data set and series, thank you!

Load query as shown in README doesn't work (anymore?).

Errors with: Couldn't load the external resource at: https://github.com/lju-lazarevic/importdata/blob/master/winemag-data-130k-v3.csv?raw=true

:auto //add this line if you're using Neo4j Browser
USING PERIODIC COMMIT 1000
LOAD CSV WITH HEADERS FROM 'https://raw.githubusercontent.com/lju-lazarevic/wine/master/data/winemag-data-130k-v3.csv' AS row
 //etc 

^-- Using with this URL works for me.

Also is it intentional to spell 'PROVINCE' in the diagram as 'PROVENCE' ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.