aggregations {GenomicDataCommons} | R Documentation

## aggregations

### Description

aggregations

### Usage

    aggregations(x)

    ## S3 method for class 'GDCQuery'
    aggregations(x)

    ## S3 method for class 'GDCResponse'
    aggregations(x)

### Arguments

`x` | a `GDCQuery` object

### Value

a `list` of `data.frame` with one member for each requested facet. The data frames each have two columns, key and doc_count.

### Methods (by class)

- `GDCQuery`:

- `GDCResponse`:

### Examples

    library(magrittr)
    # Number of each file type
    res = files() %>% facet(c('type','data_type')) %>% aggregations()
    res$type

[Package GenomicDataCommons version 1.14.0 Index]