Learn R Programming

promptr (version 1.0.0)

occupations_examples: Labelled Occupations

Description

This dataset contains 9 example occupations along with a classification. These can be used as few-shot examples for classifying occupations in the occupations dataset.

Usage

data(occupations_examples)

Arguments

Format

A data frame with 9 rows and 2 columns:

text

The text of the ballot designation

label

The hand-coded label (Working Class, Not Working Class, NA)

References

California Elections Data Archive (CEDA). https://hdl.handle.net/10211.3/210187