rmd4j::set_neo4j_engine(neo4j_home = "/Users/colin/neo4j", # Insert the path to your Neo4J home neo4j_passwd = "pouetpouet", neo4j_user = "neo4j") knitr::opts_chunk$set(echo = TRUE, comments = "")
LOAD CSV WITH HEADERS FROM "https://raw.githubusercontent.com/ThinkR-open/datasets/master/tracks.csv" AS csvLine CREATE (t:artist { name: csvLine.artist, album: csvLine.album_name, track: csvLine.track, duration: toInteger(csvLine.duration), expl: toBoolean(csvLine.explicit), pop: toInteger(csvLine.popularity)}); MATCH (a:artist) RETURN MAX(a.duration); MATCH (a:artist) RETURN MAX(a.pop);
head(iris) plot(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.