fs_add_links function

Add link to article

Add link to article

Adds url links to the metadata of an article

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?

Returns

output of PUT request (invisibly)

Examples

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

References

https://docs.figshare.com

See Also

fs_auth

Author(s)

Carl Boettiger cboettig@gmail.com