qti_contributor {rqti}R Documentation

Constructor function for class QtiContributor

Description

Creates object of QtiContributor-class

Usage

qti_contributor(
  contributor = Sys.getenv("RQTI_AUTHOR"),
  role = "author",
  contribution_date = ifelse(contributor != "", Sys.Date(), NA_Date_)
)

Arguments

contributor

A character string representing the name of the author.

role

A character string kind of contribution. Possible values: author, publisher, unknown, initiator, terminator, validator, editor, graphical designer, technical implementer, content provider, technical validator, educational validator, script writer, instructional designer, subject matter expert. Default is "author".

contribution_date

A character string representing date of the contribution. Default is the current system date, when contributor is assigned.

Examples

creator= qti_contributor("Max Mustermann", "technical validator")

[Package rqti version 0.3.0 Index]