{
  "_id": "6a0f6c3cacfb0bcc41c5e876",
  "Package": "andorR",
  "Type": "Package",
  "Title": "Optimisation of the Analysis of AND-OR Decision Trees",
  "Version": "0.3.1",
  "Date": "2025-10-01",
  "Authors@R": "c(\nperson(\nc(\"Angus\",\"R\"), \"Cameron\",\nemail = \"angus.cameron@epimundi.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8801-0366\")\n),\nperson(\n\"EpiMundi\",\nrole = c(\"cph\", \"fnd\")\n)\n)",
  "Description": "A decision support tool to strategically prioritise\nevidence gathering in complex, hierarchical AND-OR decision\ntrees. It is designed for situations with incomplete or\nuncertain information where the goal is to reach a confident\nconclusion as efficiently as possible (responding to the\nminimum number of questions, and only spending resources on\ngenerating improved evidence when it is of significant value to\nthe final decision). The framework excels in complex analyses\nwith multiple potential successful pathways to a conclusion\n('OR' nodes). Key features include a dynamic influence index to\nguide users to the most impactful question, a system for\npropagating answers and semi-quantitative confidence scores\n(0-5) up the tree, and post-conclusion guidance to identify the\nbest actions to increase the final confidence. These components\nare brought together in an interactive command-line workflow\nthat guides the analysis from start to finish.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://epimundi.github.io/andorR/",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://epimundi.r-universe.dev",
  "Date/Publication": "2025-10-22 12:54:11 UTC",
  "RemoteUrl": "https://github.com/epimundi/andorr",
  "RemoteRef": "HEAD",
  "RemoteSha": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 08:22:06 UTC",
    "User": "root"
  },
  "Author": "Angus R Cameron [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8801-0366>),\nEpiMundi [cph, fnd]",
  "Maintainer": "Angus R Cameron <angus.cameron@epimundi.com>",
  "MD5sum": "e0c2438adcf24dbb55a67b52c18f7e8d",
  "_user": "epimundi",
  "_type": "src",
  "_file": "andorR_0.3.1.tar.gz",
  "_fileid": "b5991ce73b26b41cf24536ad9cea967a8b02157ee3364a4e8cfb6b6c7e51f24e",
  "_filesize": 283142,
  "_sha256": "b5991ce73b26b41cf24536ad9cea967a8b02157ee3364a4e8cfb6b6c7e51f24e",
  "_created": "2026-05-21T08:22:06.000Z",
  "_published": "2026-05-21T20:34:04.588Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77263242964,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7130794424"
    },
    {
      "job": 77263242990,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130791656"
    },
    {
      "job": 77263243180,
      "time": 162,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7130792493"
    },
    {
      "job": 77263243121,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130795565"
    },
    {
      "job": 77263242023,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130746854"
    },
    {
      "job": 77263242211,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146552356"
    },
    {
      "job": 77263243118,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7130784911"
    },
    {
      "job": 77263243314,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7130775635"
    },
    {
      "job": 77263242995,
      "time": 79,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130774733"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/epimundi/andorr",
  "_commit": {
    "id": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
    "author": "Angus Cameron <angus@epimundi.com>",
    "committer": "Angus Cameron <angus@epimundi.com>",
    "message": "Added CRAN downloads badge\n",
    "time": 1761137651
  },
  "_maintainer": {
    "name": "Angus R Cameron",
    "email": "angus.cameron@epimundi.com",
    "orcid": "0000-0001-8801-0366"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "data.tree",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "epimundi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 19
    },
    {
      "week": "2025-39",
      "n": 32
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "and-or",
    "decision-tree",
    "optimisation"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "arcameron",
      "count": 69,
      "uuid": 15050650
    }
  ],
  "_userbio": {
    "uuid": 233833824,
    "type": "organization",
    "name": "EpiMundi",
    "description": "Population Health Management"
  },
  "_downloads": {
    "count": 520,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/andorR"
  },
  "_devurl": "https://github.com/epimundi/andorr",
  "_pkgdown": "https://epimundi.github.io/andorR/",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/andorR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/epimundi/andorr",
  "_realowner": "epimundi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2025-10-15"
    }
  ],
  "_exports": [
    "andorR_interactive",
    "calculate_tree",
    "get_confidence_boosters",
    "get_highest_influence",
    "get_questions",
    "load_tree_csv",
    "load_tree_csv_path",
    "load_tree_df",
    "load_tree_df_path",
    "load_tree_json",
    "load_tree_node_list",
    "load_tree_yaml",
    "print_tree",
    "set_answer",
    "update_tree"
  ],
  "_datasets": [
    {
      "name": "ethical",
      "title": "Ethical investment decision tree for a fictional company - data frame format",
      "object": "ethical",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "name",
        "question",
        "rule",
        "parent"
      ],
      "rows": 34,
      "table": true,
      "tojson": true
    },
    {
      "name": "ethical_nl",
      "title": "Ethical investment decision tree for a fictional company in hierarchical format",
      "object": "ethical_nl",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "andorR_interactive",
      "title": "Enter Interactive Analysis Mode",
      "topics": [
        "andorR_interactive"
      ]
    },
    {
      "page": "calculate_tree",
      "title": "Propagate Answers and Confidence Up the Tree",
      "topics": [
        "calculate_tree"
      ]
    },
    {
      "page": "ethical",
      "title": "Ethical investment decision tree for a fictional company - data frame format",
      "topics": [
        "ethical"
      ]
    },
    {
      "page": "ethical_nl",
      "title": "Ethical investment decision tree for a fictional company in hierarchical format",
      "topics": [
        "ethical_nl"
      ]
    },
    {
      "page": "get_confidence_boosters",
      "title": "Find Actions to Most Effectively Boost Confidence",
      "topics": [
        "get_confidence_boosters"
      ]
    },
    {
      "page": "get_highest_influence",
      "title": "Identify the Most Influential Question(s)",
      "topics": [
        "get_highest_influence"
      ]
    },
    {
      "page": "get_questions",
      "title": "Get a Data Frame Summary of All Leaf Questions",
      "topics": [
        "get_questions"
      ]
    },
    {
      "page": "load_tree_csv",
      "title": "Load a decision tree from a CSV file (Relational Format)",
      "topics": [
        "load_tree_csv"
      ]
    },
    {
      "page": "load_tree_csv_path",
      "title": "Load a decision tree from a CSV file (Path String Format)",
      "topics": [
        "load_tree_csv_path"
      ]
    },
    {
      "page": "load_tree_df",
      "title": "Build a decision tree from a relational data frame",
      "topics": [
        "load_tree_df"
      ]
    },
    {
      "page": "load_tree_df_path",
      "title": "Build a decision tree from a path-string data frame",
      "topics": [
        "load_tree_df_path"
      ]
    },
    {
      "page": "load_tree_json",
      "title": "Load a decision tree from a JSON file (Hierarchical Format)",
      "topics": [
        "load_tree_json"
      ]
    },
    {
      "page": "load_tree_node_list",
      "title": "Build a decision tree from a hierarchical list",
      "topics": [
        "load_tree_node_list"
      ]
    },
    {
      "page": "load_tree_yaml",
      "title": "Load a decision tree from a YAML file (Hierarchical Format)",
      "topics": [
        "load_tree_yaml"
      ]
    },
    {
      "page": "print_tree",
      "title": "Print a Styled, Formatted Summary of the Decision Tree",
      "topics": [
        "print_tree"
      ]
    },
    {
      "page": "set_answer",
      "title": "Set an Answer and Confidence for a Leaf Node",
      "topics": [
        "set_answer"
      ]
    },
    {
      "page": "update_tree",
      "title": "Update a Tree Based on Answers Provided",
      "topics": [
        "update_tree"
      ]
    }
  ],
  "_readme": "https://github.com/epimundi/andorr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "crayon",
    "data.tree",
    "dplyr",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "stringi",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "confidence-boosting.Rmd",
      "filename": "confidence-boosting.html",
      "title": "Confidence Boosting and Sensitivity Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction: From Conclusion to Conviction",
        "The Algorithm: A Sensitivity Analysis",
        "A Worked Example: Strengthening a Conclusion",
        "Step 1: Reach an Initial Conclusion",
        "Step 2: View the Initial Conclusion",
        "Step 3: Get Guidance on Boosting Confidence",
        "Step 4: Act on the Guidance",
        "Step 5: View the Improved Result"
      ],
      "created": "2025-09-20 14:25:45",
      "modified": "2025-09-28 18:56:43",
      "commits": 4
    },
    {
      "source": "data-formats.Rmd",
      "filename": "data-formats.html",
      "title": "Data Formats for andorR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. The Hierarchical Format (YAML or JSON)",
        "YAML format",
        "JSON format",
        "2. The Relational (ID/Parent) Format",
        "3. The Path String Format",
        "Summary of Formats"
      ],
      "created": "2025-09-20 09:55:59",
      "modified": "2025-09-28 18:56:43",
      "commits": 6
    },
    {
      "source": "example-data-files.Rmd",
      "filename": "example-data-files.html",
      "title": "Example Data Files",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Included Files",
        "File documentation",
        "Ethical investment decision tree (ethical)",
        "Introduction",
        "Formats",
        "Source",
        "World Organisation for Animal Health notifiable disease list criteria  (woah)",
        "Format",
        "Bovine Spongiform Encephalopathy surveillance decision tree (bse)",
        "Sources",
        "Multiple sclerosis diagnostic decision tree (ms)",
        "Systemic Lupus Erythematous diagnostic decision tree (lupus)",
        "UNESCO World Heritage nomination decision tree (unesco)",
        "Example: Loading a File",
        "CSV relational format",
        "CSV node path format",
        "YAML format"
      ],
      "created": "2025-09-19 16:30:40",
      "modified": "2025-10-04 10:31:13",
      "commits": 9
    },
    {
      "source": "andorR-intro.Rmd",
      "filename": "andorR-intro.html",
      "title": "Introduction to andorR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to andorR",
        "What are AND-OR Trees?",
        "Core Features of andorR",
        "A Worked Example",
        "Step 1: Load the Tree",
        "Step 2: Get Initial Guidance",
        "Step 3: Provide Initial Answers",
        "Step 4: Follow the Guidance and Reach a Conclusion",
        "Interactive Analysis with andorR_interactive()",
        "Included Datasets"
      ],
      "created": "2025-09-19 16:30:40",
      "modified": "2025-09-28 18:56:43",
      "commits": 5
    },
    {
      "source": "tree-optimisation.Rmd",
      "filename": "tree-optimisation.html",
      "title": "Optimisation of AND-OR Decision Trees",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Need for Optimisation",
        "The Influence Index Algorithm",
        "1. Parent Node Indices: true_index and false_index",
        "2. Leaf Node influence_index",
        "3. Prioritisation strategies in practice",
        "A Worked Example",
        "Step 1: Load and Prepare the Tree",
        "Step 2: Calculate the Indices",
        "Step 3: Display and Interpret the Results",
        "Step 4: Observing Dynamic Re-Prioritization",
        "Analysis of the Change",
        "Next Steps: Boosting Confidence"
      ],
      "created": "2025-09-19 16:30:40",
      "modified": "2025-09-28 18:56:43",
      "commits": 7
    }
  ],
  "_score": 5.243038048686294,
  "_indexed": true,
  "_nocasepkg": "andorr",
  "_universes": [
    "epimundi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-21T08:24:15.000Z",
      "distro": "noble",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "1211e3bbdca85eea71847f60d8b1d15978eb6b73129240b9187b4baed1926a0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-21T08:24:10.000Z",
      "distro": "noble",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "14751a9568a5d3f1202da59a172a5cd33f544776d571693ecd1a8c4222ba8151",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-21T08:24:18.000Z",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "74d9556dc1de84bcafea4bf178ad33f28772e92c5fd67321850913aaa992245b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-21T08:24:23.000Z",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "50ceb2781ae6faf2bcc3262c55a3dae5c20bc1ef8801b610d48d9a2a413a2ad7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-05-21T20:33:45.000Z",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "b437344c76902d7aa7db7e2e8abc815dcd592740e8716675e66db2a712eae53f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-21T08:23:41.000Z",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "903298d7c0c85f52f670ef605f930127b7d82f5a790f3a31b5b2035059078f8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-21T08:23:14.000Z",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "1808f5366b02c42a7e17e3c8783a06b1a5bda8bf243ce28bcdaab652fb20f10f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-21T08:23:12.000Z",
      "commit": "a175d07ca77ab1590bce9791aa7804d2457fb17c",
      "fileid": "5dd32db5b0f82d26adcfbc7162dd56d81a99fcb5ebc06e20b34aced383fffcd8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epimundi/actions/runs/26214255030"
    }
  ]
}