Skip to content
A wrapper for OrientDB REST API interface in R
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
OrientR.Rproj
README.md
TODO.md

README.md

OrientR

OrientR is a REST API wrapper for OrientDB. It allows you to run queries on OrientDB over its REST interface.

Contents

Install

install.packages("devtools")
devtools::install_github("retrography/OrientR")

Use

Load the library

library(OrientR)

Generate connection string

db <- getDB(database = "OpenBeer", host = "localhost", username = "root", password = "orientdb", port = "2480")

Run a query

query <- "SELECT FROM Beer"
resultSet <- runQuery(db, 'SELECT @rid AS id, name AS beer, out_HasBrewery.in.name AS brewery FROM Beer UNWIND brewery', batch = 100)

Note: It has come to my attention that OrientR fails to parse the data types for queries using the * selector (or equivalent). This is a known error now, but unfortunately I don't have the time to debug it. Feel free to make a pull request.

Known Issues

You can’t perform that action at this time.