grep_fields: Find matching field names

Description Usage Arguments Value Examples

View source: R/fields.R

Description

This utility function allows quick text-based search of available fields for using grep

Usage

1
grep_fields(entity, pattern, ..., value = TRUE)

Arguments

entity

one of .gdc_entities against which to gather available fields for matching

pattern

A regular expression that will be used in a call to grep

...

passed on to grep

value

logical(1) whether to return values as opposed to indices (passed along to grep)

Value

character() vector of field names matching pattern

Examples

1
grep_fields('files','analysis')

GenomicDataCommons documentation built on Nov. 8, 2020, 11:08 p.m.