docdb_exists | R Documentation |
Check if container exists in database
docdb_exists(src, key, ...)
src |
Source object, result of call to any of functions
|
key |
(character) The name of the container in the
database backend (corresponds to |
... |
Passed to functions |
(logical) TRUE
or FALSE
to indicate
existence of container key
in database.
Note this does not indicate if the container
holds any documents.
## Not run:
src <- src_sqlite()
docdb_exists(src, "nonexistingcontainer")
docdb_create(src, "mtcars", mtcars)
docdb_exists(src, "mtcars")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.