llm_persona_demographic_fields: Which columns of a persona frame are demographics

View source: R/personas.R

llm_persona_demographic_fieldsR Documentation

Which columns of a persona frame are demographics

Description

Returns the demographic column names. A persona frame should mark these in a demographic_fields attribute; when it does not, a small set of common demographic names found in the frame is used as a fallback.

Usage

llm_persona_demographic_fields(x)

Arguments

x

A persona data frame.

Value

A character vector of column names present in x.

See Also

llm_persona_split().


LLMR documentation built on July 11, 2026, 1:06 a.m.