This function loads one or more of the installed plays and
returns them as a QDDrama object.
Usage
loadDrama(ids, defaultCollection = "qd")
Arguments
ids
A vector of ids.
defaultCollection
If the ids do not have a collection prefix, the
defaultCollection prefix is applied.
Value
The function returns a QDDrama object. This is essentially a
list of data.tables, covering the different aspects (utterances, segments,
characters, ...). If multiple ids have been supplied as arguments, the tables
contain the information of multiple plays.
# NOT RUN {# both are equivalent# }# NOT RUN {d <- loadDrama(c("test:rksp.0", "test:rjmw.0"))
d <- loadDrama(c("rksp.0", "rjmw.0"), defaultCollection = "test")
# }