fs_update | R Documentation |
Updates the article title, description or type. If any is not specified, it will remain unchanged.
fs_update( article_id, title = NA, description = NA, type = NA, mine = TRUE, session = fs_get_auth(), debug = FALSE )
article_id |
the id number of the article |
title |
for the article (to replace original title) |
description |
of the article (replaces original designation) |
type |
one of: dataset, figure, media, poster, or paper (replaces original designation) |
mine |
Set to |
session |
(optional) the authentication credentials from |
debug |
return httr PUT request visibly? |
Updates the title, description, and type of an article.
output of PUT request (invisibly)
Carl Boettiger cboettig@gmail.com
fs_auth
, fs_add_tags
## Not run: fs_update(138, title = "New title") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.