Learn R Programming

epigraphdb (version 0.2.3)

cypher: Send a query in Cypher to EpiGraphDB

Description

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

Usage

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

Run this code
# NOT RUN {
cypher("MATCH (n:Gwas) RETURN n LIMIT 2")
# }

Run the code above in your browser using DataLab