## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(definecore)
library(metacore)

## ----eval = FALSE-------------------------------------------------------------
# load(metacore_example("pilot_ADaM.rda"))  # loads object named 'metacore'
# 
# write_define_xml(
#   metacore,
#   file = "define.xml",
#   define_version = "2.1",
#   study_name = "CDISCPILOT01",
#   study_description = "CDISC Pilot Study",
#   standard_name = "ADaM-IG",
#   standard_version = "1.1"
# )

