Skip to contents

A simulated dataset containing survey responses from 500 respondents. This dataset is designed to demonstrate the functionality of the g6tr.cohorts package.

Usage

example_data

Format

A tibble with 500 rows and 7 variables:

response_id

Unique identifier for each respondent (e.g. "R0001")

country

Country of residence ("US", "UK", "Germany", "France")

age_group

Age group ("18-24", "25-34", "35-44", "45+")

customer

Customer status ("Yes", "No")

income

Income level ("Low", "Medium", "High")

purchase_frequency

Frequency of purchases, NA for non-customers ("Weekly", "Monthly", "Quarterly", "Yearly")

weight

Survey weight, a numeric value between 0.5 and 1.5