R/extraction.R

Defines functions extract_relationships extract_nodes

Documented in extract_nodes extract_relationships

#' 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
}

Try the neo4r package in your browser

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

neo4r documentation built on May 2, 2019, 4:01 a.m.