count: provide count of records in a 'GDCQuery'

Description Usage Arguments Value Methods (by class) Examples

View source: R/response.R

Description

provide count of records in a GDCQuery

Usage

1
2
3
4
5
6
7
count(x, ...)

## S3 method for class 'GDCQuery'
count(x, ...)

## S3 method for class 'GDCResponse'
count(x, ...)

Arguments

x

a GDCQuery object

...

passed to httr (good for passing config info, etc.)

Value

integer(1) representing the count of records that will be returned by the current query

Methods (by class)

Examples

1
2
3
4
5
# total number of projects
projects() %>% count()

# total number of cases
cases() %>% count()

GenomicDataCommons documentation built on Nov. 8, 2020, 11:08 p.m.