This function will search for short titles in filenames of Rmarkdown files listed underneath the source folder. The search will be restricted to files of a given protocol type and given language.

get_short_titles(
  protocol_type = c("sfp", "sip", "sap", "sop", "spp"),
  language = c("nl", "en")
)

Arguments

protocol_type

A character string equal to sfp (default), sip, sap, sop or spp.

language

Language of the protocol, either "nl" (Dutch), the default, or "en" (English).

Value

A character vector with short titles that are in use for a given protocol type.

Examples

if (FALSE) { # \dontrun{
get_short_titles()
} # }