Skip to contents

Writes the fill-in YAML dictionary template (shipped in the package's inst/extdata/dictionaries/) to the working directory so it can be edited to describe a new tabular search-engine export. The sibling of get_report_template() for the dictionary-driven software = "custom" path (see parse_unified() and build_pep_all()).

Usage

get_dictionary_template(file = "howmahico_dictionary.yaml", overwrite = FALSE)

Arguments

file

Destination path for the copied template.

overwrite

Logical; overwrite file if it already exists.

Value

The destination path, invisibly.

Examples

if (FALSE) { # \dontrun{
get_dictionary_template("my_tool.yaml")
# edit my_tool.yaml, then:
build_pep_all("custom", folder_data = "2_data", annotation = annot,
              dictionary = "my_tool.yaml", file_rda = "2_data/pep_all.rda")
} # }