{
  "_id": "6a1e764a1d7bb097a0a63d24",
  "Package": "catviz",
  "Title": "Visualizing Causal Assignment Trees for CSDiD and DR-DDD Designs",
  "Version": "0.1.1",
  "Authors@R": "person(\"Victor\", \"Kilanko\", email = \"victorkilanko@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Tools for constructing, labeling, and visualizing Causal\nAssignment Trees (CATs) in settings with staggered adoption.\nSupports Callaway and Sant'Anna difference-in-differences\n(CSDiD) and doubly robust difference-in-difference-differences\n(DR-DDD) designs. The package helps clarify treatment timing,\nnever-treated vs. not-yet-treated composition, and subgroup\nstructure, and produces publication-quality diagrams and\nsummary tables. Current functionality focuses on data-to-node\nmapping, node counts, cohort-year summaries, and high-quality\ntree plots suitable for empirical applications prior to\nestimation. Methods are based on Callaway and Sant'Anna (2021)\n<doi:10.1016/j.jeconom.2020.12.001>, Sant'Anna and Zhao (2020)\n<doi:10.1016/j.jeconom.2020.06.003>, and Kilanko (2026)\n<https://github.com/VictorKilanko/catviz>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/VictorKilanko/catviz",
  "BugReports": "https://github.com/VictorKilanko/catviz/issues",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 06:17:51 UTC",
    "User": "root"
  },
  "Author": "Victor Kilanko [aut, cre]",
  "Maintainer": "Victor Kilanko <victorkilanko@gmail.com>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://victorkilanko.r-universe.dev",
  "Date/Publication": "2026-04-01 09:40:11 UTC",
  "RemoteUrl": "https://github.com/cran/catviz",
  "RemoteRef": "HEAD",
  "RemoteSha": "2d612d05d06445abb398c475bc4cd161a1b47168",
  "MD5sum": "994b6b2d56cab9c0dd3e3317e9961665",
  "_user": "victorkilanko",
  "_type": "src",
  "_file": "catviz_0.1.1.tar.gz",
  "_fileid": "3f378ddb0a8a632ee62b13b46356937769d7645b9a4ef6728d81d9dab900bc75",
  "_filesize": 149563,
  "_sha256": "3f378ddb0a8a632ee62b13b46356937769d7645b9a4ef6728d81d9dab900bc75",
  "_created": "2026-06-02T06:17:51.000Z",
  "_published": "2026-06-02T06:20:58.412Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79011234408,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7350369388"
    },
    {
      "job": 79011234390,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350374117"
    },
    {
      "job": 79011234405,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7350373484"
    },
    {
      "job": 79011234393,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350365387"
    },
    {
      "job": 79010846845,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350342452"
    },
    {
      "job": 79011234386,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350368082"
    },
    {
      "job": 79011234389,
      "time": 85,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7350362463"
    },
    {
      "job": 79011234413,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7350361819"
    },
    {
      "job": 79011234394,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350358723"
    }
  ],
  "_buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/catviz",
  "_commit": {
    "id": "2d612d05d06445abb398c475bc4cd161a1b47168",
    "author": "Victor Kilanko <victorkilanko@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1775036411
  },
  "_maintainer": {
    "name": "Victor Kilanko",
    "email": "victorkilanko@gmail.com",
    "login": "victorkilanko",
    "linkedin": "in/victorkilanko",
    "description": "Causal Inference | Machine Learning | Data Science | Public Policy",
    "uuid": 52762560
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-04-01"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "victorkilanko",
      "count": 1,
      "uuid": 52762560
    }
  ],
  "_userbio": {
    "uuid": 52762560,
    "type": "user",
    "name": "Victor Kilanko",
    "description": "Causal Inference | Machine Learning | Data Science | Public Policy"
  },
  "_downloads": {
    "count": 432,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/catviz"
  },
  "_devurl": "https://github.com/victorkilanko/catviz",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/catviz.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"
  ],
  "_realowner": "victorkilanko",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-04-01"
    }
  ],
  "_exports": [
    "cat_att_equation",
    "cat_balance_plot",
    "cat_balance_table",
    "cat_counts",
    "cat_design_csdid",
    "cat_design_ddd",
    "cat_design_did",
    "cat_diag",
    "cat_event_table",
    "cat_label",
    "cat_plot_csdid",
    "cat_plot_ddd",
    "cat_plot_did",
    "cat_plot_tree",
    "cat_pt_csdid",
    "cat_pt_drddd",
    "cat_save_png",
    "cat_spec",
    "generate_cohort_labels"
  ],
  "_help": [
    {
      "page": "cat_att_equation",
      "title": "Show ATT contrast implied by CAT nodes and design",
      "topics": [
        "cat_att_equation"
      ]
    },
    {
      "page": "cat_balance_plot",
      "title": "Love plot for balance",
      "topics": [
        "cat_balance_plot"
      ]
    },
    {
      "page": "cat_balance_table",
      "title": "Standardized mean differences across CAT nodes or design groups",
      "topics": [
        "cat_balance_table"
      ]
    },
    {
      "page": "cat_counts",
      "title": "Count observations or units per node",
      "topics": [
        "cat_counts"
      ]
    },
    {
      "page": "cat_design_csdid",
      "title": "Blueprint for Callaway-Sant'Anna DiD Tree (Staggered Adoption)",
      "topics": [
        "cat_design_csdid"
      ]
    },
    {
      "page": "cat_design_ddd",
      "title": "Blueprint for Difference-in-Difference-in-Differences Tree",
      "topics": [
        "cat_design_ddd"
      ]
    },
    {
      "page": "cat_design_did",
      "title": "Blueprint for 2x2 Difference-in-Differences Tree",
      "topics": [
        "cat_design_did"
      ]
    },
    {
      "page": "cat_diag",
      "title": "General diagnostic helper for CAT specifications",
      "topics": [
        "cat_diag"
      ]
    },
    {
      "page": "cat_event_table",
      "title": "Count treated and control observations by event time",
      "topics": [
        "cat_event_table"
      ]
    },
    {
      "page": "cat_label",
      "title": "Label CAT nodes with cohort letters and canonical g labels",
      "topics": [
        "cat_label"
      ]
    },
    {
      "page": "cat_plot_csdid",
      "title": "Plot CSDiD Causal Assignment Tree (IMPROVED - No Cut-offs)",
      "topics": [
        "cat_plot_csdid"
      ]
    },
    {
      "page": "cat_plot_ddd",
      "title": "Plot DDD-style Causal Assignment Tree (cohorts x subgroup) - IMPROVED VERSION",
      "topics": [
        "cat_plot_ddd"
      ]
    },
    {
      "page": "cat_plot_did",
      "title": "Plot 2x2 DID Causal Assignment Tree (IMPROVED - No Cut-offs)",
      "topics": [
        "cat_plot_did"
      ]
    },
    {
      "page": "cat_plot_tree",
      "title": "Plot a Causal Assignment Tree (unified interface)",
      "topics": [
        "cat_plot_tree"
      ]
    },
    {
      "page": "cat_pt_csdid",
      "title": "CSDiD parallel-gaps diagnostic",
      "topics": [
        "cat_pt_csdid"
      ]
    },
    {
      "page": "cat_pt_drddd",
      "title": "DR-DDD pretrend diagnostic: subgroup means in pre-periods",
      "topics": [
        "cat_pt_drddd"
      ]
    },
    {
      "page": "cat_save_png",
      "title": "Save a CAT ggplot as a high-quality PNG",
      "topics": [
        "cat_save_png"
      ]
    },
    {
      "page": "cat_spec",
      "title": "Build a Causal Assignment Tree specification",
      "topics": [
        "cat_spec"
      ]
    },
    {
      "page": "generate_cohort_labels",
      "title": "Generate cohort labels with letters",
      "topics": [
        "generate_cohort_labels"
      ]
    }
  ],
  "_readme": "https://github.com/cran/catviz/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "catviz",
  "_universes": [
    "victorkilanko"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:48.000Z",
      "distro": "noble",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "64fc1eceb2efa95bded700a842a37ce9ecde692e89f7b02f3a40be0cb771f36e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-02T06:20:06.000Z",
      "distro": "noble",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "b034fe9acb0983105ed002bc3c5cc2bec5d527a6682d3de9b89965ce04ad720a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-02T06:20:09.000Z",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "3643d9db1b80c16a61e9cb6fa2c67fb807089561fb3e36d9d657048a40fda27e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:38.000Z",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "fd2dc414b1dba890001b463240bcd446afafe2470f916adb9d42a7464e12e2f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:59.000Z",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "560355e54bd02c1056825f3d6b60704d01086dbf8b8e223bab45cd1086f5d83f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:16.000Z",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "96e6341306030fcd1138ec9058a20ace3ea48450a0c5aa8946de1c0f1fb74735",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-02T06:19:14.000Z",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "35ea09d82291669ad7f7429bf6c36b22692ab65fe7825c9e195e2e1886085739",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-02T06:18:58.000Z",
      "commit": "2d612d05d06445abb398c475bc4cd161a1b47168",
      "fileid": "e88cd4865db838da5f07d1ef6cecc0a42b98ede013850e8a922b34dcc748866d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/victorkilanko/actions/runs/26751392368"
    }
  ]
}