Skip to contents

Creates a formatted Microsoft Word document containing the Hierarchical Taxonomy of Psychopathology - Self-Report (HiTOP-SR) items, instructions, and optional scoring keys. The 405 items are formatted into a single continuous table.

Usage

generate_docx_hitopsr(
  file = "hitopsr_1.0.docx",
  papersize = c("letter", "a4"),
  title = "HiTOP-SR (v1.0)",
  include_scoring = TRUE,
  include_subscales = FALSE,
  font_size = 10,
  font_family = "Times New Roman"
)

Arguments

file

Character string specifying the output file path. Defaults to "hitopsr_1.0.docx".

papersize

Character string specifying the paper dimensions. Must be one of "letter" or "a4". Defaults to "letter".

title

Character string for the document header title. Defaults to "HiTOP-SR (v1.0)".

include_scoring

Logical. If TRUE (default), appends a page break and the scoring instructions table.

include_subscales

Logical. If TRUE, appends optional subscales to the scoring instructions table. Defaults to FALSE.

font_size

Numeric value specifying the base font size in points. Defaults to 10.

font_family

Character string specifying the font family to be used. Defaults to "Times New Roman".

Value

Invisibly returns the path to the created file (file).