powered by
Find common values for a GDC field
available_values(entity, field, legacy = FALSE)
character(1), a GDC entity ("cases", "files", "annotations", "projects")
character(1), a field that is present in the entity record
logical(1), use the legacy endpoint or not.
character vector of the top 100 (or fewer) most frequent values for a the given field
# NOT RUN { available_values('files','cases.project.project_id')[1:5] # }
Run the code above in your browser using DataLab