{
  "_id": "6a1064b1acfb0bcc41ca88e0",
  "Package": "tidysynth",
  "Title": "A Tidy Implementation of the Synthetic Control Method",
  "Version": "0.2.1",
  "Authors@R": "person(given = \"Eric\",\nfamily = \"Dunford\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ed769@georgetown.edu\",\ncomment = c(ORCID = \"0000-0003-3056-8687\"))",
  "Description": "A synthetic control offers a way of evaluating the effect\nof an intervention in comparative case studies. The package\nmakes a number of improvements when implementing the method in\nR. These improvements allow users to inspect, visualize, and\ntune the synthetic control more easily. A key benefit of a tidy\nimplementation is that the entire preparation process for\nbuilding the synthetic control can be accomplished in a single\npipe.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-08 06:39:36 UTC",
    "User": "root"
  },
  "Author": "Eric Dunford [aut, cre]\n(<https://orcid.org/0000-0003-3056-8687>)",
  "Maintainer": "Eric Dunford <ed769@georgetown.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-03-24 02:11:56 UTC",
  "RemoteUrl": "https://github.com/cran/tidysynth",
  "RemoteRef": "HEAD",
  "RemoteSha": "fca1accb1caf4c9d762f66eb18db8ebacda01ece",
  "MD5sum": "f196c49905a3a878074eb8ba4352ff57",
  "_user": "cran",
  "_type": "src",
  "_file": "tidysynth_0.2.1.tar.gz",
  "_fileid": "42c97222dd0a37cd762ba4f6871e6022e1132a0401b1bbac6313dd6e477f5018",
  "_filesize": 356314,
  "_sha256": "42c97222dd0a37cd762ba4f6871e6022e1132a0401b1bbac6313dd6e477f5018",
  "_created": "2026-05-08T06:39:36.000Z",
  "_published": "2026-05-22T14:14:09.562Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77397348873,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6873405893"
    },
    {
      "job": 77397348825,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873398655"
    },
    {
      "job": 77397348573,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873361882"
    },
    {
      "job": 77397347821,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162642321"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25540896013",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/tidysynth",
  "_commit": {
    "id": "fca1accb1caf4c9d762f66eb18db8ebacda01ece",
    "author": "Eric Dunford <ed769@georgetown.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1\n",
    "time": 1742782316
  },
  "_maintainer": {
    "name": "Eric Dunford",
    "email": "ed769@georgetown.edu",
    "orcid": "0000-0003-3056-8687"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "kernlab",
      "role": "Imports"
    },
    {
      "package": "rgenoud",
      "role": "Imports"
    },
    {
      "package": "optimx",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1237,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidysynth"
  },
  "_searchresults": 143,
  "_rbuild": "4.6.0",
  "_assets": [
    "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",
    "extra/tidysynth.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-01-27"
    },
    {
      "version": "0.2.0",
      "date": "2023-05-21"
    },
    {
      "version": "0.2.1",
      "date": "2025-03-24"
    }
  ],
  "_exports": [
    "%>%",
    "generate_control",
    "generate_predictor",
    "generate_weights",
    "grab_balance_table",
    "grab_loss",
    "grab_outcome",
    "grab_predictor_weights",
    "grab_predictors",
    "grab_significance",
    "grab_synthetic_control",
    "grab_unit_weights",
    "plot_differences",
    "plot_mspe_ratio",
    "plot_placebos",
    "plot_trends",
    "plot_weights",
    "synthetic_control"
  ],
  "_datasets": [
    {
      "name": "smoking",
      "title": "smoking dataset",
      "object": "smoking",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "year",
        "cigsale",
        "lnincome",
        "beer",
        "age15to24",
        "retprice"
      ],
      "rows": 1209,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "generate_control",
      "title": "generate_control",
      "topics": [
        "generate_control"
      ]
    },
    {
      "page": "generate_predictor",
      "title": "generate_predictor",
      "topics": [
        "generate_predictor"
      ]
    },
    {
      "page": "generate_weights",
      "title": "generate_weights",
      "topics": [
        "generate_weights"
      ]
    },
    {
      "page": "grab_balance_table",
      "title": "grab_balance_table",
      "topics": [
        "grab_balance_table"
      ]
    },
    {
      "page": "grab_loss",
      "title": "grab_loss",
      "topics": [
        "grab_loss"
      ]
    },
    {
      "page": "grab_outcome",
      "title": "grab_outcome",
      "topics": [
        "grab_outcome"
      ]
    },
    {
      "page": "grab_predictor_weights",
      "title": "grab_predictor_weights",
      "topics": [
        "grab_predictor_weights"
      ]
    },
    {
      "page": "grab_predictors",
      "title": "grab_predictors",
      "topics": [
        "grab_predictors"
      ]
    },
    {
      "page": "grab_significance",
      "title": "grab_significance",
      "topics": [
        "grab_significance"
      ]
    },
    {
      "page": "grab_synthetic_control",
      "title": "grab_synthetic_control",
      "topics": [
        "grab_synthetic_control"
      ]
    },
    {
      "page": "grab_unit_weights",
      "title": "grab_unit_weights",
      "topics": [
        "grab_unit_weights"
      ]
    },
    {
      "page": "plot_differences",
      "title": "plot_difference",
      "topics": [
        "plot_differences"
      ]
    },
    {
      "page": "plot_mspe_ratio",
      "title": "plot_mspe_ratio",
      "topics": [
        "plot_mspe_ratio"
      ]
    },
    {
      "page": "plot_placebos",
      "title": "plot_placebos",
      "topics": [
        "plot_placebos"
      ]
    },
    {
      "page": "plot_trends",
      "title": "plot_trends",
      "topics": [
        "plot_trends"
      ]
    },
    {
      "page": "plot_weights",
      "title": "plot_weights",
      "topics": [
        "plot_weights"
      ]
    },
    {
      "page": "smoking",
      "title": "smoking dataset",
      "topics": [
        "smoking"
      ]
    },
    {
      "page": "synth_method",
      "title": "synth_method",
      "topics": [
        "synth_method"
      ]
    },
    {
      "page": "synth_weights",
      "title": "synth_weights",
      "topics": [
        "synth_weights"
      ]
    },
    {
      "page": "synthetic_control",
      "title": "synthetic_control",
      "topics": [
        "synthetic_control"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/tidysynth/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/tidysynth/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "forcats",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "kernlab",
    "labeling",
    "lifecycle",
    "magrittr",
    "nloptr",
    "numDeriv",
    "optimx",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "RColorBrewer",
    "rgenoud",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.946675741430201,
  "_indexed": true,
  "_nocasepkg": "tidysynth",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-08T06:42:12.000Z",
      "distro": "noble",
      "commit": "fca1accb1caf4c9d762f66eb18db8ebacda01ece",
      "fileid": "c77569aeec4e8464ced289faa8bb453e464052cc91efb38389a5dd5bd9de2589",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25540896013"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-08T06:41:44.000Z",
      "distro": "noble",
      "commit": "fca1accb1caf4c9d762f66eb18db8ebacda01ece",
      "fileid": "47b39211ca49d5de70e9a14beb0c5cb3aa25ef92f21eb51b2712ec9aa7c4f4bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25540896013"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-05-22T14:13:51.000Z",
      "commit": "fca1accb1caf4c9d762f66eb18db8ebacda01ece",
      "fileid": "29962e3034819ef4f85e4b82ef34df53b33a1db4c72aaae94fa23ae23761de03",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25540896013"
    }
  ]
}