build_field_lists: Build fields and fields_exclude for queries.

Description Usage Arguments Value

View source: R/idig_search.R

Description

Given the desired fields to be returned, intelligently add an exclusion for the data array if warranted and handle the "all" keyword. And do so without setting both fields and fields_exclude due to fact that the API will return wrong results if are passed. This is still posssible if the user deliberately sets both. Not exported.

Usage

1

Arguments

fields

character vector of fields user wants returned

type

type of records to get fields for

Value

list list with fields key for df fields and query key for parameters to be merged with the query sent


ridigbio documentation built on May 20, 2017, 12:48 a.m.

Search within the ridigbio package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.