Description Usage Arguments Details Value Author(s) Examples
Writes a text file to an OrientDB database
1 | textFileToDB(file, db, class, type = c("document", "graph"))
|
file |
Path to a text file |
db |
A database connection |
class |
The database class to insert into |
type |
The type of database being written to |
Writes a text file to an OrientDB database. Inserts the class, text, file name, time and user into the database object.
An httr response object
Jared P. Lander
1 2 3 4 5 6 | ## Not run:
library(OrientExpress)
theDB <- dbInfo('localhost', database='DocStore', username='TheUser', password='ThePass', port=2480)
textFileToDB('A-17.txt', db=theDB, class='Document')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.