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")
}
keithmcnulty/neo4jshell documentation built on April 12, 2022, 10:30 a.m.