fs_make_public: Make an article public (for private or draft articles)

View source: R/fs_make_public.R

fs_make_publicR Documentation

Make an article public (for private or draft articles)

Description

Make an article public (for private or draft articles)

Usage

fs_make_public(article_id, session = fs_get_auth())

Arguments

article_id

the id number of the article

session

(optional) the authentication credentials from fs_auth.

Details

This function will make a draft or private article public, assigning it a DOI and making it permanently available through Figshare. If you use fs_upload to add new files to an existing public deposit, you must then use fs_make_public for those changes to be made in the public version of the repository.

Value

output of PUT request (invisibly)

Note

NOTE: Public articles are assigned DOIs and cannot be deleted or made private once declared public! Public articles do not count against your quota space.

Author(s)

Carl Boettiger cboettig@gmail.com

References

http://api.figshare.com

See Also

fs_auth

Examples

## Not run: 
fs_make_public(123)

## End(Not run)

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