cypher: Send a query in Cypher to EpiGraphDB

Description Usage Arguments Examples

View source: R/cypher.R

Description

NOTE: this function is intended for advanced uses. Regular users are recommended to use standard query functions

Usage

1
cypher(query, mode = c("table", "raw"))

Arguments

query

A Cypher query.

mode

If mode = "table", returns a data frame (a tibble as per tidyverse convention). If mode = "raw", returns a raw response from EpiGraphDB API with minimal parsing done by httr.

Examples

1
2
3
4
## Not run: 
cypher("MATCH (n:Gwas) RETURN n LIMIT 2")

## End(Not run)

epigraphdb documentation built on Jan. 15, 2022, 1:09 a.m.