find_right_holder: Finds a right_holder ID by its pseudonymn.

Description Usage Arguments Value

Description

Finds a right_holder ID by its pseudonymn.

Usage

1
2
3
4
5
6
find_right_holder(
  name,
  mode = c("any", "all", "main"),
  if_absent = c("raise_error", "return_NA"),
  strategies = NULL
)

Arguments

name

a string representing the artist's name.

mode

match mode. 'any' will return any matching pseudonym; 'all' will return all pseudonyms, 'main' will return only the main pseudonym, or error out if there is more than one.

if_absent

how to behave when a pseudonym is missing. Can be either 'raise_error' (default), which will raise an error; or 'return_NA', which will return NAs for pseudonyms that cannot be matched.

Value

an integer vector representing the right holder IDs associated with this name.


gmega/playaxdata documentation built on April 4, 2021, 5:21 a.m.