cypher: Send a query in Cypher to EpiGraphDB

View source: R/cypher.R

cypherR Documentation

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

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

## End(Not run)

MRCIEU/epigraphdb-r documentation built on Aug. 29, 2022, 4:05 a.m.