Skip to contents

Generate an individual element that fills the itemGroupData field

Usage

dataset_metadata(item_id, name, label, items, .data)

Arguments

item_id

Data Object ID for item in Dataset JSON object, corresponding to ItemGroupDef/@OID in Define-XML.

name

Dataset name

label

Dataset Label

items

Variable metadata

.data

Dataframe to be written to Dataset JSON file

Value

dataset_metadata object

Examples

dataset_meta <- dataset_metadata(
  item_id = "IG.IRIS",
  name = "IRIS",
  label = "Iris",
  items = iris_items
)