This function will search for protocol numbers 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.
Usage
get_protocolnumbers(
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 occupied protocol numbers for a specific
protocol type
Examples
if (FALSE) { # \dontrun{
get_protocolnumbers()
} # }