NoSQLResourceClient | R Documentation |
NoSQL database resource client
NoSQL database resource client
A R6 object of class NoSQLResourceClient
Resource client that connects to a NoSQL database supported by nodbi.
resourcer::ResourceClient
-> NoSQLResourceClient
new()
Creates a new NoSQLResourceClient instance.
NoSQLResourceClient$new(resource)
resource
A valid resource object.
A NoSQLResourceClient object.
getConnection()
Creates the nodbi connection object if it does not exist.
NoSQLResourceClient$getConnection()
The nodbi connection object.
asDataFrame()
Makes a data.frame from the remote database table.
NoSQLResourceClient$asDataFrame()
A tibble.
getDatabaseName()
Extract the database name from the resource URL.
NoSQLResourceClient$getDatabaseName()
The database name.
getTableName()
Extract the database table name from the resource URL.
NoSQLResourceClient$getTableName()
The database table name.
close()
Close the nodbi connection.
NoSQLResourceClient$close()
clone()
The objects of this class are cloneable with this method.
NoSQLResourceClient$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.