fs_make_public {rfigshare}R 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

https://docs.figshare.com

See Also

fs_auth

Examples

## Not run: 
fs_make_public(123)

## End(Not run)

[Package rfigshare version 0.3.8 Index]