Skip to contents

Run moderated focus-group studies

run_focus_group()
Run a Focus Group Simulation

Injected messages, private probes, and branched sessions

run_focus_group_arms()
Run Arms of a Focus Group from One Shared Prefix
fg_injection()
A Message Injected into a Session
fg_probe()
A Private Question Put to Each Participant
fg_after_item() fg_before_turn()
Points in a Session

Moderator guides and turn-taking rules

get_default_prompt_templates()
Get Default Prompt Templates
create_conversation_flow()
Create a Conversation Flow Object

Build participants from personas and respondent data

create_agents()
Create Focus Group Agents
create_agents_from_data()
Create agents from an in-memory data frame of respondents
create_agents_from_survey()
Create agents from a labeled survey file
persona_rendering_report()
Report how each persona was rendered
fg_default_na_strings()
Missing-value patterns used by default for survey files
anes_2024_personas
Persona profiles of 100 respondents to the ANES 2024 Time Series Study

Session files, imported transcripts, and analysis

format(<focus_group_result>) format(<FocusGroup>) format(<focus_group_arms>)
Write a Session as JSON Lines
focus_group_from_transcript()
Build a FocusGroup object from a transcript or a session file
analyze_focus_group()
Analyze Focus Group Results

Summarize a discussion

summarize_focus_group()
Summarize a Discussion by Participant, Item, Disagreement, Trajectory, Turn, or Session
fg_turns()
Turn Table of a Discussion

Replay a session

fg_player()
Replay a finished session in the browser

Graphical study interface

run_focus_studio()
Launch the FocusGroup Shiny GUI

Advanced construction and extension

FocusGroup
FocusGroup R6 Class
FGAgent
FGAgent Class
ConversationFlow
ConversationFlow Base Class