demographics {completejourney} | R Documentation |
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.
demographics
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+
demographics |
a tibble |
84.51°, Customer Journey study, http://www.8451.com/area51/
# full data set
demographics
# Transaction line items that don't have household metadata
require("dplyr")
transactions_sample %>%
anti_join(demographics, "household_id")