response | R Documentation |
GDCQuery
metadata from GDCFetch GDCQuery
metadata from GDC
response(x, ...)
## S3 method for class 'GDCQuery'
response(x, from = 0, size = 10, ..., response_handler = jsonlite::fromJSON)
response_all(x, ...)
x |
a |
... |
passed to httr (good for passing config info, etc.) |
from |
integer index from which to start returning data |
size |
number of records to return |
response_handler |
a function that processes JSON (as text)
and returns an R object. Default is |
A GDCResponse
object which is a list with the following
members:
results
query
aggregations
pages
# basic class stuff
gCases = cases()
resp = response(gCases)
class(resp)
names(resp)
# And results from query
resp$results[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.