powered by
aggregations
aggregations(x)# S3 method for GDCQuery aggregations(x)# S3 method for GDCResponse aggregations(x)
# S3 method for GDCQuery aggregations(x)
# S3 method for GDCResponse aggregations(x)
a GDCQuery object
GDCQuery
a list of data.frame with one member for each requested facet. The data frames each have two columns, key and doc_count.
list
data.frame
GDCQuery:
GDCResponse:
GDCResponse
# NOT RUN { library(magrittr) # Number of each file type res = files() %>% facet(c('type','data_type')) %>% aggregations() res$type # }
Run the code above in your browser using DataLab