Skip to contents

Explore

Functions for exploring IRW database.

irw_list_tables()
List Available Tables
irw_filter()
Filter Available Datasets in IRW
irw_filter_comp()
Filter Available Competition Datasets in IRW

Metadata

Functions for viewing IRW metadata

irw_info()
Retrieve and Print IRW Database or Table Information
irw_metadata()
Retrieve IRW Metadata Table
irw_tags()
Retrieve IRW Tags Table
irw_tag_options()
View Available Tag Values with Frequencies
irw_license_options()
View Unique License Options with Frequencies
irw_collections()
List IRW Collections
irw_collection()
Get the Tables in an IRW Collection
irw_collection_members()
IRW Collection Membership
irw_itemtext()
Retrieve item text metadata for an IRW table
irw_list_itemtext_tables()
List IRW tables with available item text metadata

Fetch

Functions for fetching IRW data.

irw_fetch()
Fetch Table(s) from the Item Response Warehouse
irw_table_sets()
Summarize the value sets of an IRW table without downloading it
irw_merge()
Merge Tables Sharing the Same DOI or BibTex
irw_download()
Download a Dataset
irw_save_bibtex()
Save BibTeX Entries for IRW Tables

Local cache

Tables fetched with irw_fetch() and irw_itemtext() are kept on disk, shared with the Python package, and reused while they are unchanged.

irw_cache_dir()
Folder where fetched tables are cached
irw_cache_info()
List the cached tables
irw_clear_cache()
Delete cached tables

Reproducibility

Functions for citing and pinning IRW data at a version. irw_version() names the corpus as a whole and irw_use_version() reads it; the others pin one dataset at a time.

irw_version()
Which IRW version was live, and what every dataset was pinned to
irw_use_version()
Read the whole corpus at one IRW version
irw_set_version()
Pin an IRW Redivis dataset to a released version
irw_get_version()
Report the IRW dataset versions in use
irw_reset_version()
Remove IRW version pins

Simulate

Functions for simulating IRW data.

irw_simdata()
Simulate IRW-compliant dichotomous item response data
irw_simdata_comp()
Simulate IRW-compliant pairwise-comparison data
irw_simu_diff()
Simulate Item Difficulties from IRW or Custom Pools

Process

Functions for processing IRW data for psychometric analysis.

irw_long2resp()
Convert IRW Long-Format Data to Wide-Format Response Matrix
irw_resp2long()
Convert Wide-Format Response Matrix to IRW Long Format
irw_check_resp()
Check response patterns in IRW data
irw_recode()
Recode IRW Identifier Columns to Simple Sequential Codes
irw_recode_key()
Retrieve the Recode Key from an Object Returned by irw_recode()
irw_decode()
Restore Original Identifier Values
irw_covariates()
Extract Person-Level Covariates from IRW Long-Format Data
irw_covariate_labels()
Source Value Labels for an IRW Table's Coded Covariates

Model comparison

Functions for comparing the predictions of fitted models.

irw_imv()
InterModel Vigorish (IMV)
irw_predict()
Predicted Response Probabilities from a Fitted mirt Model

Example IRW data

swmd_mokken
Example Data from IRW Database
diff_long
Simulated Item Difficulty Pool from IRW Datasets