show_fields: Show schema fields

View source: R/helpers.R

show_fieldsR Documentation

Show schema fields

Description

Show which fields of a schema can be used for creating an instance

Usage

show_fields(datatype)

Arguments

datatype

An R6 class from dtreg::load_datatype

Value

A character vector of available fields

Examples

dt <- dtreg::load_datatype("https://doi.org/21.T11969/aff130c76e68ead3862e")
dtreg::show_fields(dt$data_item())


dtreg documentation built on April 12, 2025, 2:05 a.m.