Learn R Programming

completejourney (version 1.1.0)

demographics: Household demographic metadata.

Description

Household demographic metadata for households participating in the Customer Journey study. Due to nature of the data, the demographic information is not available for all households.

Usage

demographics

Arguments

Value

demographics

a tibble

Format

A data frame with 801 rows and 8 variables

  • household_id: Uniquely identifies each household

  • age: Estimated age range

  • income: Household income range

  • home_ownership: Homeowner status (Homeowner, Renter, Unknown)

  • marital_status: Marital status (Married, Single, Unknown)

  • household_size: Size of household up to 5+

  • household_comp: Household composition description

  • kids_count: Number of children present up to 3+

Examples

Run this code
# NOT RUN {
# full data set
demographics

# Transaction line items that don't have household metadata
require("dplyr")
transactions_sample %>%
  anti_join(demographics, "household_id")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab