expand | R Documentation |
expand
parameterS3 generic to set GDCQuery expand parameter
expand(x, expand)
## S3 method for class 'GDCQuery'
expand(x, expand)
x |
the objects on which to set fields |
expand |
a character vector specifying the fields |
A GDCQuery
object, with the expand
member altered.
expand(GDCQuery)
: set expand fields on a GDCQuery object
gProj = projects()
gProj$fields
head(available_fields(gProj))
default_fields(gProj)
gProj |>
select(default_fields(gProj)[1:2]) |>
response() |>
str(max_level=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.