Skip to contents

siera comes bundled with some example files in its `inst/extdata` directory. This function make them easy to access.

Usage

ARS_example(path = NULL)

Arguments

path

Name of file. If `NULL`, the example files will be listed.

Value

A list of example files (if path is NULL), or a file itself if path is used.

Examples

ARS_example()
#> [1] "ADAE.csv"                           "ADSL.csv"                          
#> [3] "ARS_V1_Common_Safety_Displays.json" "Common_Safety_Displays_cards.xlsx" 
#> [5] "cards_constructs.xlsx"             
ARS_example("ARS_V1_Common_Safety_Displays.json")
#> [1] "/home/runner/work/_temp/Library/siera/extdata/ARS_V1_Common_Safety_Displays.json"