View source: R/fs_add_authors.R
fs_add_authors | R Documentation |
Add author to an article
fs_add_authors( article_id, authors, session = fs_get_auth(), create_missing = TRUE, debug = FALSE )
article_id |
id number of an article on figshare |
authors |
a list or character string of authors or author id numbers (or mixed). |
session |
(optional) the authentication credentials from |
create_missing |
(logical) Attempt to create authors not already registered on FigShare? |
debug |
return the httr result visibly? |
adds the requested authors to the given article
Carl Boettiger cboettig@gmail.com
## Not run: fs_add_authors("138", list("Scott Chamberlain", "Karthik Ram")) fs_add_authors("138", c("Scott Chamberlain", "Karthik Ram")) fs_add_authors("138", list("Scott Chamberlain", "97306")) fs_add_authors("138", list("Scott Chamberlain", 97306)) fs_add_authors(138, 97306) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.