R/extraction.R

#' Extract nodes or relationships
#'
#' @param x a result from Neo4J
#'
#' @return a tibble
#' @export
#' @rdname extract
#'

extract_nodes <- function(x) {
  x$nodes
}

#' @export
#' @rdname extract

extract_relationships <- function(x) {
  x$relationships
}
neo4j-rstats/neo4r documentation built on June 5, 2019, 4:36 p.m.