Skip to contents

Returns the names of competition tables that match user-specified criteria. Competition filtering uses:

  • Numeric metadata: n_responses, n_actors

  • License: via comp_biblio (Derived_License)

Usage

irw_filter_comp(n_responses = NULL, n_actors = NULL, license = NULL)

Arguments

n_responses

Numeric vector length 1 or 2. Filters by number of responses.

  • Length 1: exact value (e.g., n_responses = 300)

  • Length 2: range (e.g., n_responses = c(300, Inf))

n_actors

Numeric vector length 1 or 2. Filters by number of actors.

license

Character vector. Filters by license (e.g., "CC BY 4.0"). See irw_license_options(comp = TRUE) for available values.

Value

A sorted character vector of competition table names (lowercase), or character(0) if no match is found.

Details

Notes:

  • Competition datasets do not have tags or item text metadata.

  • Competition metadata table names are stored in lowercase.