R/utils.R
clean_query.Rd
Converts R booleans to monarch_api values and drops NULL parameters from query list.
clean_query(query)
query | List of api query parameters and their values. |
---|
list of query paramters and cleaned values.
clean_query(list(rows = 100, fetch_objects = TRUE, use_compact_associations = FALSE, unselect_evidence = NULL, format = "json"))#> $rows #> [1] 100 #> #> $fetch_objects #> [1] "true" #> #> $use_compact_associations #> [1] "false" #> #> $format #> [1] "json" #>