use_ad_template: Open an ADaM Template Script

Description Usage Arguments Author(s) Examples

View source: R/user_helpers.R

Description

Open an ADaM Template Script

Usage

1
2
3
4
5
6
use_ad_template(
  adam_name = "adsl",
  save_path = paste0("./", adam_name, ".R"),
  overwrite = FALSE,
  open = interactive()
)

Arguments

adam_name

An ADaM dataset name.

save_path

Path to save the script.

overwrite

Whether to overwrite an existing file named save_path.

open

Whether to open the script right away.

Author(s)

Shimeng Huang, Thomas Neitmann

Examples

1
2
3
if (interactive()) {
  use_ad_template("adsl")
}

epijim/admiral documentation built on Feb. 13, 2022, 12:15 a.m.