get_figshare {gimap} | R Documentation |
Handler function for GET requests from Figshare
Description
Handler function for GET requests from Figshare
Usage
get_figshare(
file_name = NA,
item = "19700056",
output_dir = tempdir(),
return_list = FALSE
)
Arguments
file_name |
Which item are we downloading? |
item |
What is the item we are retrieving? |
output_dir |
Where should the file be saved? |
return_list |
Should the list of files be returned instead of the file |
Value
Downloads necessary annotation files from Figshare and reads them in as data frames.
Examples
get_figshare(
return_list = TRUE,
output_dir = tempdir()
)
get_figshare(
file_name = "Achilles_common_essentials.csv",
output_dir = tempdir()
)
[Package gimap version 1.1.1 Index]