Skip to contents

A cleaned Qualtrics export from a conjoint study that compares two potential new building developments. Each respondent completed 8 standard tasks only; no repeated tasks are included in this dataset.

Usage

data(exampleData3)

Format

A data frame with 400 rows and 184 columns. Contains survey responses including demographic information, outcome choices, and conjoint attribute values identified by K-*-* variable names.

Examples

# Load the dataset
data(exampleData3)

# Inspect the first few rows
head(exampleData3)
#> # A tibble: 6 × 184
#>   ResponseId     choice1 choice2 choice3 choice4 choice5 choice6 choice7 choice8
#>   <chr>          <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr>  
#> 1 R_1M3TDihZzq9… Commun… Commun… Commun… Commun… Commun… Commun… Commun… Commun…
#> 2 R_3HtXzkcSSlf… Commun… Commun… Commun… Commun… Commun… Commun… Commun… Commun…
#> 3 R_yjYj0jtOY98… Commun… Commun… Commun… Commun… Commun… Commun… Commun… Commun…
#> 4 R_1dKd05O6FTO… Commun… Commun… Commun… Commun… Commun… Commun… Commun… Commun…
#> 5 R_1otDp642wWY… Commun… Commun… Commun… Commun… Commun… Commun… Commun… Commun…
#> 6 R_2BnD3fuJMRK… Commun… Commun… Commun… Commun… Commun… Commun… Commun… Commun…
#> # ℹ 175 more variables: race <chr>, party_1 <chr>, party_2 <chr>,
#> #   party_3 <chr>, party_4 <chr>, ideology <chr>, honesty <chr>, `K-1-1` <chr>,
#> #   `K-1-1-1` <chr>, `K-1-2` <chr>, `K-1-1-2` <chr>, `K-1-3` <chr>,
#> #   `K-1-1-3` <chr>, `K-1-4` <chr>, `K-1-1-4` <chr>, `K-1-5` <chr>,
#> #   `K-1-1-5` <chr>, `K-1-6` <chr>, `K-1-1-6` <chr>, `K-1-7` <chr>,
#> #   `K-1-1-7` <chr>, `K-1-2-1` <chr>, `K-1-2-2` <chr>, `K-1-2-3` <chr>,
#> #   `K-1-2-4` <chr>, `K-1-2-5` <chr>, `K-1-2-6` <chr>, `K-1-2-7` <chr>, …

# Number of rows and columns
dim(exampleData3)
#> [1] 400 184

# Display first 10 column names
names(exampleData3)[1:10]
#>  [1] "ResponseId" "choice1"    "choice2"    "choice3"    "choice4"   
#>  [6] "choice5"    "choice6"    "choice7"    "choice8"    "race"