Skip to contents

A 500-row random sample of the UCI Adult Income dataset, used in package examples and vignettes.

Usage

adult_income

Format

A tibble with 500 rows and 16 variables:

id

Row identifier (integer)

age

Age in years (integer)

workclass

Employment type (character)

fnlwgt

Final weight, a census sampling weight (integer)

education

Highest level of education (character)

education_num

Education encoded as an integer (integer)

marital_status

Marital status (character)

occupation

Occupation category (character)

relationship

Relationship to householder (character)

race

Race (character)

sex

Sex (character)

capital_gain

Capital gains (integer)

capital_loss

Capital losses (integer)

hours_per_week

Hours worked per week (integer)

native_country

Country of origin (character)

income

Income bracket: <=50K or >50K (character)