Unlimited learning, half price | 50% off
Get 50% off unlimited learning

GenomicDataCommons (version 1.3.4)

count: provide count of records in a GDCQuery

Description

provide count of records in a GDCQuery

Usage

count(x, ...)

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

# S3 method for 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)

  • GDCQuery:

  • GDCResponse:

Examples

Run this code
# NOT RUN {
# total number of projects
projects() %>% count()

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

# }

Run the code above in your browser using DataLab