available_values: Find common values for a GDC field

Description Usage Arguments Value Examples

View source: R/fields.R

Description

Find common values for a GDC field

Usage

1
available_values(entity, field, legacy = FALSE)

Arguments

entity

character(1), a GDC entity ("cases", "files", "annotations", "projects")

field

character(1), a field that is present in the entity record

legacy

logical(1), use the legacy endpoint or not.

Value

character vector of the top 100 (or fewer) most frequent values for a the given field

Examples

1
available_values('files','cases.project.project_id')[1:5]

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