clean_query: Converts R booleans to monarch_api values and drops NULL...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Converts R booleans to monarch_api values and drops NULL parameters from query list.

Usage

1
clean_query(query)

Arguments

query

List of api query parameters and their values.

Value

list of query paramters and cleaned values.

Examples

1
2
3
4
clean_query(list(rows = 100,
                 fetch_objects = TRUE,
                 use_compact_associations = FALSE,
                 unselect_evidence = NULL, format = "json"))

charlieccarey/monarchr documentation built on May 11, 2018, 3:15 a.m.