powered by
Add a category to article
fs_add_categories( article_id, category_id, session = fs_get_auth(), debug = FALSE )
the id number of the article
is a vector of integers corresponding to categories or a vector of category names
(optional) the authentication credentials from fs_auth. If not provided, will attempt to load from cache as long as figshare_auth has been run.
fs_auth
return PUT results visibly?
output of PUT request (invisibly)
https://docs.figshare.com
# NOT RUN { fs_add_categories(138, "Ecology") # }
Run the code above in your browser using DataLab