get_cached_gwascat {gwascat} | R Documentation |
use BiocFileCache to retrieve and keep an image of the tsv file
get_cached_gwascat( url = "http://www.ebi.ac.uk/gwas/api/search/downloads/alternative", cache = BiocFileCache::BiocFileCache(), ... )
url |
character(1) url to use |
cache |
BiocFileCache::BiocFileCache instance |
... |
passed to bfcadd |
will If query of cache with 'ebi.ac.uk/gwas' returns 0-row tibble, will populate cache with bfcadd. Uses readr::read_tsv on cache content to return tibble. The etag field does not seem to be used at EBI, thus user must check for updates.