Description Usage Arguments Details Author(s) References See Also Examples
Create, update details of, or delete a collection
1 2 3 4 5 | coll_create(name, description, access = "public", ...)
coll_update(id, name = NULL, description = NULL, access = NULL, ...)
coll_delete(id, ...)
|
id |
A collection id (or object of class “scribd_collection”) to either update or delete. |
name |
The name of the collection. This is optional for |
description |
The description of the collection. This is optional for |
access |
An access level for the collection; one of “public” (the default) or “private”. This is optional for |
... |
Other arguments passed to HTTP request functions. |
These functions create a collection or update the details of an already created collection, or to delete a collection. To add or remove documents to/from a collection, use coll_add
and coll_remove
, respectively. To delete a document entirely, use doc_delete
.
Thomas J. Leeper
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# create
mycoll <- coll_create("Rscribd Collection", "A simple example collection")
# update
coll_update(mycoll, access = "private")
# delete
coll_delete(mycoll)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.