{
  "_id": "6ae5081b95ca2370cc8d040b",
  "Package": "FocusGroup",
  "Type": "Package",
  "Title": "Focus Group Simulation Using LLM Agents",
  "Version": "0.5.6",
  "Authors@R": "person(\"Ali\", \"Sanaei\", , \"sanaei@uchicago.edu\", role = c(\"aut\", \"cre\"))",
  "Description": "Moderated focus group discussions simulated with large\nlanguage models (LLMs). Participants carry personas built from\nrespondent records or labeled survey files. A session runs\nunder a specified turn-taking rule, and one turn can be\nexperimentally manipulated to measure its effect on the next.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/asanaei/FocusGroup,\nhttps://asanaei.github.io/FocusGroup/",
  "BugReports": "https://github.com/asanaei/FocusGroup/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-30 21:05:08 UTC",
    "User": "root"
  },
  "Author": "Ali Sanaei [aut, cre]",
  "Maintainer": "Ali Sanaei <sanaei@uchicago.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-30 19:31:07 UTC",
  "RemoteUrl": "https://github.com/cran/FocusGroup",
  "RemoteRef": "HEAD",
  "RemoteSha": "eed540742dc6e78b85e363af4ae490f664fa0eb1",
  "_user": "cran",
  "_type": "src",
  "_file": "FocusGroup_0.5.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/2df4582a7c944137a204b3e1968dde7da089ba9b737591aed97ba523c662914d",
  "_filesize": 1296314,
  "_sha256": "2df4582a7c944137a204b3e1968dde7da089ba9b737591aed97ba523c662914d",
  "_expires": "2027-02-07T21:11:53.000Z",
  "_created": "2026-10-30T21:05:08.000Z",
  "_published": "2026-10-30T21:11:55.083Z",
  "_upstream": "https://github.com/cran/FocusGroup",
  "_status": "success",
  "_maintainer": {
    "name": "Ali Sanaei",
    "email": "sanaei@uchicago.edu",
    "login": "asanaei",
    "description": "",
    "uuid": 20296004
  },
  "_jobs": [
    {
      "job": 124312650256,
      "time": 272,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13012176718"
    },
    {
      "job": 124312650203,
      "time": 292,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13011548431"
    },
    {
      "job": 124310513367,
      "time": 278,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13011063938"
    },
    {
      "job": 124312650200,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13012046508"
    },
    {
      "job": 124312650292,
      "time": 356,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13011638168"
    },
    {
      "job": 124312650228,
      "time": 341,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13011394651"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41127698855",
  "_commit": {
    "id": "eed540742dc6e78b85e363af4ae490f664fa0eb1",
    "author": "Ali Sanaei <sanaei@uchicago.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.6\n",
    "time": 1793388667
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "LLMR",
      "version": ">= 0.8.8",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "quanteda",
      "role": "Suggests"
    },
    {
      "package": "quanteda.textstats",
      "role": "Suggests"
    },
    {
      "package": "topicmodels",
      "role": "Suggests"
    },
    {
      "package": "tidytext",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "LLMR.shiny",
      "version": ">= 0.1.3",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.5.2",
      "date": "2026-09-12"
    },
    {
      "name": "0.5.6",
      "date": "2026-10-30"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "asanaei",
      "count": 2,
      "uuid": 20296004
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 373,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/FocusGroup"
  },
  "_devurl": "https://github.com/asanaei/focusgroup",
  "_pkgdown": "https://asanaei.github.io/FocusGroup/",
  "_searchresults": 12,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/FocusGroup.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/asanaei/focusgroup",
  "_realowner": "asanaei",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.5.2",
      "date": "2026-09-12"
    },
    {
      "version": "0.5.6",
      "date": "2026-10-30"
    }
  ],
  "_exports": [
    "analyze_focus_group",
    "ConversationFlow",
    "create_agents",
    "create_agents_from_data",
    "create_agents_from_survey",
    "create_conversation_flow",
    "fg_after_item",
    "fg_before_turn",
    "fg_default_na_strings",
    "fg_injection",
    "fg_player",
    "fg_probe",
    "fg_turns",
    "FGAgent",
    "focus_group_from_transcript",
    "FocusGroup",
    "get_default_prompt_templates",
    "persona_rendering_report",
    "run_focus_group",
    "run_focus_group_arms",
    "run_focus_studio",
    "summarize_focus_group"
  ],
  "_datasets": [
    {
      "name": "anes_2024_personas",
      "title": "Persona profiles of 100 respondents to the ANES 2024 Time Series Study",
      "object": "anes_2024_personas",
      "class": [
        "data.frame"
      ],
      "fields": [
        "demo_age",
        "demo_sex",
        "demo_education",
        "demo_race_ethnicity",
        "demo_marital_status",
        "demo_household_income",
        "demo_religion",
        "demo_religion_importance",
        "demo_religious_attendance",
        "demo_census_region",
        "demo_rural_urban_identity",
        "demo_employment_status",
        "demo_home_ownership",
        "demo_children_in_household",
        "demo_union_household",
        "demo_military_service",
        "demo_attention_to_politics",
        "att_id_party_identification",
        "att_id_importance_of_party_identity",
        "att_id_liberal_conservative_self_pl",
        "att_id_2024_presidential_vote",
        "att_id_presidential_vote_intent",
        "att_id_harris_vs_trump_preference",
        "att_id_likelihood_of_voting",
        "att_id_party_of_presidential_vote_i",
        "att_id_party_of_us_house_vote_inten",
        "att_aff_feeling_toward_kamala_harris",
        "att_aff_feeling_toward_donald_trump",
        "att_aff_feeling_toward_the_democrati",
        "att_aff_feeling_toward_the_republica",
        "att_aff_feeling_toward_the_maga_move",
        "att_aff_feeling_toward_the_supreme_c",
        "att_aff_feeling_toward_congress",
        "att_aff_feeling_toward_liberals",
        "att_aff_feeling_toward_conservatives",
        "att_aff_feeling_toward_labor_unions",
        "att_aff_feeling_toward_big_business",
        "att_aff_feeling_toward_the_police",
        "att_aff_feeling_toward_black_lives_m",
        "att_aff_feeling_toward_the_nra",
        "att_aff_feeling_toward_muslims",
        "att_aff_feeling_toward_christians",
        "att_aff_feeling_toward_jews",
        "att_aff_feeling_toward_planned_paren",
        "att_eval_approval_of_the_president",
        "att_eval_approval_of_congress",
        "att_eval_approval_of_the_supreme_cour",
        "att_eval_approval_of_the_president_on",
        "att_eval_approval_of_the_president_on_2",
        "att_eval_approval_of_the_president_on_3",
        "att_eval_national_economy_over_the_pa",
        "att_eval_national_economy_over_the_ne",
        "att_eval_personal_finances_vs_a_year_",
        "att_eval_worry_about_personal_finance",
        "att_iss_government_spending_and_serv",
        "att_iss_federal_spending_on_social_s",
        "att_iss_federal_spending_on_aid_to_t",
        "att_iss_federal_spending_on_welfare",
        "att_iss_tax_on_millionaires",
        "att_iss_government_reducing_income_i",
        "att_iss_policy_toward_unauthorized_i",
        "att_iss_border_wall",
        "att_iss_ending_birthright_citizenshi",
        "att_iss_path_to_citizenship",
        "att_iss_immigrants_and_the_economy",
        "att_iss_gun_background_checks",
        "att_iss_difficulty_of_buying_a_gun",
        "att_iss_regulating_greenhouse_emissi",
        "att_iss_climate_change_and_severe_we",
        "att_iss_environment_vs_business_trad",
        "att_iss_government_help_paying_for_h",
        "att_iss_government_vs_private_medica",
        "att_iss_abortion_position",
        "att_iss_importance_of_the_abortion_i",
        "att_iss_death_penalty",
        "att_iss_police_use_of_force",
        "att_iss_whether_police_treat_blacks_",
        "att_iss_preferential_hiring_of_black",
        "att_iss_affirmative_action_in_univer",
        "att_iss_government_assistance_to_bla",
        "att_iss_blacks_should_work_their_way",
        "att_iss_slavery_makes_it_harder_for_",
        "att_iss_blacks_have_gotten_less_than",
        "att_iss_if_blacks_tried_harder_they_",
        "att_iss_discrimination_against_black",
        "att_iss_discrimination_against_white",
        "att_iss_discrimination_against_women",
        "att_iss_us_weapons_to_ukraine",
        "att_iss_us_military_aid_to_israel",
        "att_iss_side_with_israelis_or_palest",
        "att_iss_free_trade_agreements",
        "att_iss_china_as_a_threat",
        "att_iss_russia_as_a_threat",
        "att_iss_defense_spending",
        "att_val_trust_in_government_in_washi",
        "att_val_government_run_for_a_few_big",
        "att_val_whether_the_political_system",
        "att_val_compromise_vs_sticking_to_pr",
        "att_val_a_strong_leader_is_good_for_",
        "att_val_leaving_decisions_to_indepen",
        "att_val_child_trait_independence_vs_",
        "att_val_child_trait_obedience_vs_sel",
        "att_val_whether_people_can_be_truste",
        "att_val_satisfaction_with_life",
        "att_val_trust_in_the_judiciary",
        "att_val_trust_in_scientists",
        "att_val_trust_in_traditional_media",
        "att_val_adjusting_morals_to_a_changi",
        "att_val_traditional_family_values",
        "att_val_whether_men_should_work_and_",
        "att_val_satisfaction_with_democracy",
        "att_iss_economic_mobility_vs_20_year",
        "att_iss_income_gap_vs_20_years_ago",
        "att_iss_whether_rural_areas_get_thei",
        "att_eval_hopefulness_about_the_countr",
        "att_eval_anger_about_the_country",
        "att_eval_which_party_better_handles_t",
        "att_eval_which_party_better_handles_i",
        "att_iss_importance_of_what_public_sc",
        "att_iss_approval_of_diversity_equity",
        "att_iss_whether_sexual_harassment_wo",
        "att_iss_whether_attention_to_sexual_",
        "ideology_score"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "analyze_focus_group",
      "title": "Analyze Focus Group Results",
      "topics": [
        "analyze_focus_group"
      ]
    },
    {
      "page": "anes_2024_personas",
      "title": "Persona profiles of 100 respondents to the ANES 2024 Time Series Study",
      "topics": [
        "anes_2024_personas"
      ]
    },
    {
      "page": "ConversationFlow",
      "title": "ConversationFlow Base Class",
      "topics": [
        "ConversationFlow"
      ]
    },
    {
      "page": "create_agents",
      "title": "Create Focus Group Agents",
      "topics": [
        "create_agents"
      ]
    },
    {
      "page": "create_agents_from_data",
      "title": "Create agents from an in-memory data frame of respondents",
      "topics": [
        "create_agents_from_data"
      ]
    },
    {
      "page": "create_agents_from_survey",
      "title": "Create agents from a labeled survey file",
      "topics": [
        "create_agents_from_survey"
      ]
    },
    {
      "page": "create_conversation_flow",
      "title": "Create a Conversation Flow Object",
      "topics": [
        "create_conversation_flow"
      ]
    },
    {
      "page": "fg_after_item",
      "title": "Points in a Session",
      "topics": [
        "fg_after_item",
        "fg_before_turn"
      ]
    },
    {
      "page": "fg_default_na_strings",
      "title": "Missing-value patterns used by default for survey files",
      "topics": [
        "fg_default_na_strings"
      ]
    },
    {
      "page": "fg_injection",
      "title": "A Message Injected into a Session",
      "topics": [
        "fg_injection"
      ]
    },
    {
      "page": "fg_player",
      "title": "Replay a finished session in the browser",
      "topics": [
        "fg_player"
      ]
    },
    {
      "page": "fg_probe",
      "title": "A Private Question Put to Each Participant",
      "topics": [
        "fg_probe"
      ]
    },
    {
      "page": "fg_turns",
      "title": "Turn Table of a Discussion",
      "topics": [
        "fg_turns"
      ]
    },
    {
      "page": "FGAgent",
      "title": "FGAgent Class",
      "topics": [
        "FGAgent"
      ]
    },
    {
      "page": "focus_group_from_transcript",
      "title": "Build a FocusGroup object from a transcript or a session file",
      "topics": [
        "focus_group_from_transcript"
      ]
    },
    {
      "page": "FocusGroup",
      "title": "FocusGroup R6 Class",
      "topics": [
        "FocusGroup"
      ]
    },
    {
      "page": "format.focus_group_result",
      "title": "Write a Session as JSON Lines",
      "topics": [
        "format.FocusGroup",
        "format.focus_group_arms",
        "format.focus_group_result"
      ]
    },
    {
      "page": "get_default_prompt_templates",
      "title": "Get Default Prompt Templates",
      "topics": [
        "get_default_prompt_templates"
      ]
    },
    {
      "page": "persona_rendering_report",
      "title": "Report how each persona was rendered",
      "topics": [
        "persona_rendering_report"
      ]
    },
    {
      "page": "run_focus_group",
      "title": "Run a Focus Group Simulation",
      "topics": [
        "run_focus_group"
      ]
    },
    {
      "page": "run_focus_group_arms",
      "title": "Run Arms of a Focus Group from One Shared Prefix",
      "topics": [
        "run_focus_group_arms"
      ]
    },
    {
      "page": "run_focus_studio",
      "title": "Launch the FocusGroup Shiny GUI",
      "topics": [
        "run_focus_studio"
      ]
    },
    {
      "page": "summarize_focus_group",
      "title": "Summarize a Discussion by Participant, Item, Disagreement, Trajectory, Turn, or Session",
      "topics": [
        "summarize_focus_group"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/FocusGroup/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/FocusGroup/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bit",
    "bit64",
    "cachem",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "curl",
    "digest",
    "dplyr",
    "fastmap",
    "forcats",
    "future",
    "future.apply",
    "generics",
    "globals",
    "glue",
    "haven",
    "hms",
    "httr2",
    "jsonlite",
    "lifecycle",
    "listenv",
    "LLMR",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "parallelly",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "focus-group-analysis.Rmd",
      "filename": "focus-group-analysis.html",
      "title": "Focus Group Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Analyze simulated and imported transcripts",
        "Run a focus group",
        "Run descriptive analysis offline",
        "Opt in to model analysis",
        "Import and analyze an existing transcript",
        "Summarize a discussion",
        "Replay a session",
        "Construct the objects directly",
        "Interpretation"
      ],
      "created": "2026-09-12 13:20:14",
      "modified": "2026-10-30 19:31:07",
      "commits": 2
    },
    {
      "source": "architecture.Rmd",
      "filename": "architecture.html",
      "title": "FocusGroup Architecture",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Architecture",
        "Main functions",
        "Offline execution and replay",
        "Running a session",
        "Messages and prompts",
        "Stored data",
        "Analysis",
        "Extending the package"
      ],
      "created": "2026-09-12 13:20:14",
      "modified": "2026-10-30 19:31:07",
      "commits": 2
    }
  ],
  "_score": 3.3802112417116064,
  "_indexed": false,
  "_nocasepkg": "focusgroup",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://asanaei.r-universe.dev/FocusGroup",
  "_previous": "0.5.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.6",
      "date": "2026-10-30T21:08:02.000Z",
      "distro": "resolute",
      "commit": "eed540742dc6e78b85e363af4ae490f664fa0eb1",
      "fileid": "https://r2.ropensci.org/198f46ac2dd6b22807201b41a75bd6a9f19433a49bd8fe88f31c8bf36e49def1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41127698855"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.6",
      "date": "2026-10-30T21:07:51.000Z",
      "distro": "resolute",
      "commit": "eed540742dc6e78b85e363af4ae490f664fa0eb1",
      "fileid": "https://r2.ropensci.org/16a3afc8f8cdb923a9147200a9e09cde6e6443205efe432b25897cec5e43c4f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41127698855"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.6",
      "date": "2026-10-30T21:07:58.000Z",
      "commit": "eed540742dc6e78b85e363af4ae490f664fa0eb1",
      "fileid": "https://r2.ropensci.org/a65a29c1912845c05b7534d20babc45dcbe82490cde5a6decbac02d762c0c0cc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41127698855"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.6",
      "date": "2026-10-30T21:07:04.000Z",
      "commit": "eed540742dc6e78b85e363af4ae490f664fa0eb1",
      "fileid": "https://r2.ropensci.org/489c72e3731542cac527102d383bf6b8cfe00d0b5a093a66808367a77bb10559",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41127698855"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.6",
      "date": "2026-10-30T21:07:06.000Z",
      "commit": "eed540742dc6e78b85e363af4ae490f664fa0eb1",
      "fileid": "https://r2.ropensci.org/111ed8469cf376209d70e06b9e8b00c92ba750a4a9c6f3ffd70955f5199fa04e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41127698855"
    }
  ]
}