mgnify_request | R Documentation |
GET request from the ENA
mgnify_request( url, max_pages = NULL, query = list(), verbose = TRUE, cache_file = "mgnify_request.RDS", cache_break = 10, use_cache = TRUE, ... )
url |
ENA API url |
max_pages |
Max number of pages to return. If NULL, all pages returned. |
query |
Query list passed to httr::GET |
verbose |
Verbose output? |
cache_file |
File name to cache (checkpoint) the results. Useful for big queries in case the job is interuppted. |
cache_break |
Write cache file every N pages. |
use_cache |
Read the cache file, if it exists? |
... |
Parameters passed to httr::GET |
data.frame
mgnify_request('https://www.ebi.ac.uk/metagenomics/api/v1/biomes', max_pages = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.