Retrieves a summary of available tables in the IRW database, including their name,
number of rows, and variable count, sorted alphabetically by table name.
Usage
irw_list_tables(source = "core", sim = FALSE, comp = FALSE, nom = FALSE)
Arguments
- source
Character. The data family: "core" (default), "nom", "sim", "comp", "conj" (conjoint experiments; see irw_conj_long), or "rank" (rankings; see irw_rank_compress).
- sim
Deprecated. Use source = "sim" instead.
- comp
Deprecated. Use source = "comp" instead.
- nom
Deprecated. Use source = "nom" instead.
Value
A data frame with the following columns:
- name
The name of the table, sorted alphabetically.
- numRows
The number of rows in the table.
- variableCount
The number of variables in the table.
Examples
if (FALSE) { # irw_has_credentials() || nzchar(Sys.getenv("IRW_RUN_EXAMPLES"))
# \donttest{
irw_list_tables() # Main IRW database
irw_list_tables(source = "sim") # Simulation dataset
irw_list_tables(source = "comp") # Competition dataset
# }
}