fs_add_links: Add link to article

View source: R/fs_add_links.R

fs_add_linksR Documentation

Add link to article

Description

Adds url links to the metadata of an article

Usage

fs_add_links(article_id, link, session = fs_get_auth(), debug = FALSE)

Arguments

article_id

the id number of the article

link

the url you wish to add (can be list of urls)

session

(optional) the authentication credentials from fs_auth. If not provided, will attempt to load from cache as long as authentication has been run.

debug

logical, should function return details of PUT request?

Value

output of PUT request (invisibly)

Author(s)

Carl Boettiger cboettig@gmail.com

References

http://api.figshare.com

See Also

fs_auth

Examples

## Not run: 
fs_add_links(138, list("http://carlboettiger.info", "http://ropensci.org")) 

## End(Not run)

ropensci/rfigshare documentation built on May 18, 2022, 6:34 p.m.