get_cached_gwascat {gwascat} | R Documentation

## use BiocFileCache to retrieve and keep an image of the tsv file

### Description

use BiocFileCache to retrieve and keep an image of the tsv file

### Usage

    get_cached_gwascat(
      url = "http://www.ebi.ac.uk/gwas/api/search/downloads/alternative",
      cache = BiocFileCache::BiocFileCache(),
      ...
    )

### Arguments

`url` | character(1) url to use
`cache` | BiocFileCache::BiocFileCache instance
`...` | passed to bfcadd

### Note

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.

[Package gwascat version 2.24.0 Index]