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.


quadrama/DramaAnalysis documentation built on Sept. 28, 2020, 8:42 p.m.