Get details for an article
fs_download( article_id, urls_only = TRUE, mine = is_mine(article_id), session = fs_get_auth(), show_versions = FALSE, version = NULL, ... )
article_id
: numberurls_only
: logical (default TRUE) to only return the URLs to the downloadable objects but do not call download.file. If FALSE, will download filesmine
: logical (default FALSE). Set to true to see article details for your own non-public articlessession
: the authentication credentials from fs_auth
show_versions
: logical, show what versions are availableversion
: show a given version number...
: additional arguments to download.file
## Not run: url <- fs_download(90818) data <- read.csv(url) articles <- fs_search("SciFund") ids <- fs_ids(articles) fs_download(ids, urls_only=FALSE) ## End(Not run)
https://docs.figshare.com https://github.com/ropensci-archive/rfigshare
fs_auth
download.file
Carl Boettiger cboettig@gmail.com
Useful links