addremove: Add/remove docs

Description Usage Arguments Details Author(s) References See Also Examples

Description

Add or remove documents from a collection

Usage

1
2
3

Arguments

id

A collection id (or object of class “scribd_collection”) to add documents to (or remove documents from).

doc

A document id (or object of class “scribd_doc”) to add to (or remove from) the collection.

...

Other arguments passed to HTTP request functions.

Details

These functions add documents to a collection or remove documents from a collection.

Author(s)

Thomas J. Leeper

References

API Reference: addDoc

API Reference: removeDoc

See Also

coll_list, coll_docs

coll_create, coll_update, coll_delete

Examples

1
2
3
4
5
6
7
## Not run: 
colls <- coll_list()
docs <- docs_list()
coll_add(colls[[1]], docs[[1]])
coll_remove(colls[[1]], docs[[1]])

## End(Not run)

cloudyr/rscribd documentation built on May 13, 2019, 8:22 p.m.