Skip to contents

For merging templates without variable mappings, writes long and wide link file sheets derived from the template's category merging ties.

Usage

downloadLinkFileWorkbook(
  cmid,
  database = "SocioMap",
  path = NULL,
  overwrite = FALSE,
  url = NULL
)

Arguments

cmid

A MERGING CMID.

database

A string specifying the database from which to retrieve the template. Valid options are "SocioMap" or "ArchaMap".

path

Optional output workbook path. Defaults to link_file_<CMID>.xlsx in the working directory.

overwrite

Whether to overwrite an existing file.

url

API URL override.

Value

Invisibly returns a list with path, status, and sheets.

Examples

if (FALSE) { # \dontrun{
downloadLinkFileWorkbook(
  cmid = "AD354277",
  database = "ArchaMap",
  path = "link_file_AD354277.xlsx",
  overwrite = TRUE
)
} # }