Skip to contents
library(SensoryDataSets)
library(ggplot2)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

Introduction

The SensoryDataSets package offers a rich and diverse collection of datasets focused on sensory evaluation, consumer research, and related statistical applications. It includes comprehensive data on topics such as hedonic and liking scores, sensory profiles, descriptive evaluations, physicochemical measurements, and wine quality and bitterness assessments.

The package contains a wide variety of data types, including consumer testing data, descriptive sensory analysis panels, physicochemical measurements of products, and preference and acceptability studies. These datasets encompass products such as bread, olive oil, orange juice, grape blends, wine, cocktails, chocolate, perfume, and smoothies, covering applications that range from hedonic evaluation and quantitative descriptive analysis to wine quality studies, bitterness perception, and physicochemical characterization of consumer products.

SensoryDataSets is intended for teaching, exploratory data analysis, statistical modeling, multivariate analysis, consumer studies, and methodological research in sensory and consumer science. The original data sources and applicable licensing terms are documented in the LICENSES_DETAILS.md file.

All datasets within SensoryDataSets



view_datasets_SensoryDataSets()
#>  [1] "brown_bread_matrix" "grapeblend_tbl"     "olive_oil_df"      
#>  [4] "orange_juice_df"    "perfume_ideal_df"   "sensopanels_df"    
#>  [7] "white_bread_matrix" "wine_bitter_df"     "winequality_df"    
#> [10] "winetable_tb"

Data Visualization with SensorDataSets

Wine Quality

library(ggplot2)

ggplot(winequality_df, aes(x = factor(quality), y = alcohol)) +
  geom_boxplot(fill = "#722F37", alpha = 0.7, outlier.color = "#722F37") +
  labs(
    title = "Alcohol Content by Wine Quality Score",
    x = "Quality Score",
    y = "Alcohol (%)"
  ) +
  theme_minimal()

Conclusion

The SensoryDataSets package brings together a diverse and well-documented collection of datasets spanning sensory evaluation, consumer research, and product quality assessment. By covering a wide range of products—from bread and wine to chocolate and perfume—it provides researchers, educators, and students with ready-to-use data for exploring hedonic responses, descriptive sensory profiles, and physicochemical characteristics. Whether used for teaching statistical and multivariate methods or for methodological research in sensory and consumer science, SensoryDataSets aims to lower the barrier to reproducible, hands-on learning and analysis in this field.