count {GenomicDataCommons} | R Documentation |
GDCQuery
provide count of records in a GDCQuery
count(x, ...) ## S3 method for class 'GDCQuery' count(x, ...) ## S3 method for class 'GDCResponse' count(x, ...)
x |
a |
... |
passed to httr (good for passing config info, etc.) |
integer(1) representing the count of records that will be returned by the current query
GDCQuery
:
GDCResponse
:
# total number of projects projects() %>% count() # total number of cases cases() %>% count()