Description Usage Arguments Value Examples
View source: R/dg_query_builder.R
Builds a query in GraphQL syntax through a recursive function that iterates over the fields defined in define_fields(). It checks for possible arguments and subfields and pastes names and values, respectively.
1 | query_builder(field, substat_name)
|
field |
Field of "highest order" where the recursive function starts. Usually query_list, defined in define fields. |
substat_name |
name of the desired substat |
Query for the GraphQL API
1 | dg_query_builder <- function(field, lastfield_name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.