powered by
This function executes a GraphQL query with the provided variables. It validates the variables, constructs the request, and handles any errors returned by the GraphQL API.
meetupr_query(graphql, ..., .envir = parent.frame())
The response from the GraphQL API as a list.
GraphQL query string
Variables to pass to query
Environment for error handling
if (FALSE) { query <- " query GetUser($id: ID!) { user(id: $id) { id name } }" meetupr_query(graphql = query, id = "12345") }
Run the code above in your browser using DataLab