loadSet: Load Collections

Description Usage Arguments Value

View source: R/collections.R

Description

Function to load a set from collection files Can optionally set the set name as a genre in the returned table. loadSets() returns table of all defined collections (and the number of plays in each).

Usage

1
2
3
loadSet(setName, addGenreColumn = FALSE)

loadSets()

Arguments

setName

A character vector. The name of the set(s) to retrieve.

addGenreColumn

Logical. Whether to set the Genre-column in the returned table to the set name. If set to FALSE (default), a vector is returned. In this case, association to collections is not returned. Otherwise, it's a data.frame.

Value

A character vector with play ids that belong to the set.


DramaAnalysis documentation built on Jan. 13, 2021, 10:02 p.m.