R/neo4j_status.R

Defines functions neo4j_status

Documented in neo4j_status

#' Check status of a local Neo4J database
#'
#' @param neo4j_path Path to the Neo4J executable (usually in the bin directory of the Neo4J installation)
#'
#' @return System messages
#'
#' @examples
#' # if neo4j exists, check status local graph with neo4j executable in the system PATH variable
#' if (nzchar(Sys.which("neo4j"))) {
#'   neo4j_status()
#' }


neo4j_status <- function(neo4j_path = "neo4j") {
  sys::exec_wait(neo4j_path, "status")
}

Try the neo4jshell package in your browser

Any scripts or data that you put into this service are public.

neo4jshell documentation built on April 11, 2022, 5:08 p.m.