dbquery: Function for querying metamaps DB

Description Usage Arguments

View source: R/dbquery.R

Description

Takes variable queries with table output ie. no nodes no rels

Usage

1
2
3
dbquery(query, params = FALSE, cypherurl = NULL, user = NULL,
  password = NULL, justPost = FALSE, verbose = FALSE, test = FALSE,
  jsonresponse = "", ...)

Arguments

query

char string with cypher Query, rmbr to escape double quotes if any; read LUCENE

params

a list object. ie params required by a cypher query, false if query requires no parameters; default

cypherurl

address of database, inclusive of ports

user

database username

password

database password

justPost

its just a POST request

verbose

to print details out

test

for testing, function takes a given json response in the form of a character string provided in argument jsonresponse

jsonresponse

string equivalent to the json response from querying the database

...

allows for additional arguments to be passed into dbquery


MetamapsDB documentation built on May 1, 2019, 9:23 p.m.