Learn R Programming

MetamapsDB (version 0.0.2)

dbquery: Function for querying metamaps DB

Description

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

Usage

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