| sample_data | R Documentation |
A sample dataset for demonstrating the quallmer app's validation functionality. Contains movie review texts coded by multiple coders with a gold standard.
sample_data
A data frame with 20 rows and 6 variables:
Unique identifier for each text
Movie review text
Gold standard sentiment label (positive, negative, neutral)
Human coder's sentiment classification
LLM coder's sentiment classification (moderate accuracy)
Another LLM coder's sentiment classification (lower accuracy)
This dataset is useful for:
Testing inter-rater reliability calculations (using coder1, coder2, coder3)
Testing gold-standard validation (using gold_sentiment as reference)
Learning how to use the quallmer app
Demonstrating nominal measurement level metrics
if (interactive()) {
# Option 1: Use the pre-made sample file from the package
# Get the path to the sample data file
sample_file <- system.file("extdata", "sample_data.rds", package = "quallmer.app")
# Launch the app and upload this file through the UI
qlm_app()
# Option 2: Load the data and save your own copy
data(sample_data)
saveRDS(sample_data, "my_sample.rds")
# Then load my_sample.rds in qlm_app()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.