formatPathOutput: Format relationships

Description Usage Arguments Value Note Author(s) See Also Examples

Description

perform curl request to get relationship information for fetchRelationship.

Usage

1

Arguments

url

a string specifying relationship url to be formatted

Value

relationship information with the following components:

source, target = node grinn id

sourcename, targetname = node name

sourcelabel, targetlabel = node type

sourcexref, targetxref = node cross references

type = relationship type

datasource = relationship resource

properties = relationship properties

Return empty data frame if error or found nothing.

Note

curlRequest.TRANSACTION is used in other functions to improve speed.

Author(s)

Kwanjeera W kwanich@ucdavis.edu

See Also

curlRequest, fetchRelationship

Examples

1
2
3
4
#url = "http://localhost:7474/db/data/node/0/relationships/out"
#result = curlRequest.URL(url)
#df = data.frame(t(sapply(result,c)))
#formatPathOutput(df)

kwanjeeraw/metabox documentation built on May 20, 2019, 7:07 p.m.