{
  "_id": "6aca5e42fe5cc25786e87efd",
  "Package": "SCtools",
  "Title": "Extensions for Synthetic Controls Analysis",
  "Version": "0.3.3",
  "Date": "2024-04-26",
  "Authors@R": "c(\nperson(given = 'Bruno',\nfamily = 'Castanho Silva',\nrole = c('aut', 'cre'),\nemail = 'b.paula.castanho.e.silva@fu-berlin.de',\ncomment = c(ORCID = '0000-0001-9363-4704')),\nperson(given = 'Michael',\nfamily = 'DeWitt',\nrole = c('aut'),\nemail = 'me.dewitt.jr@gmail.com',\ncomment = c(ORCID = '0000-0001-8940-1967')))",
  "Description": "Extends the functionality of the package 'Synth' as\ndetailed in Abadie, Diamond, and Hainmueller (2011)\n<doi:10.18637/jss.v042.i13>. Includes generating and plotting\nplacebos, post/pre-MSPE (Mean Squared Prediction Error)\nsignificance tests and plots, and calculating average treatment\neffects for multiple treated units.",
  "BugReports": "https://github.com/bcastanho/SCtools/issues",
  "Maintainer": "Bruno Castanho Silva\n<b.paula.castanho.e.silva@fu-berlin.de>",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake libicu-dev",
  "Repository": "https://bcastanho.r-universe.dev",
  "Date/Publication": "2024-04-30 12:18:33 UTC",
  "RemoteUrl": "https://github.com/bcastanho/sctools",
  "RemoteRef": "HEAD",
  "RemoteSha": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 14:50:33 UTC",
    "User": "root"
  },
  "Author": "Bruno Castanho Silva [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9363-4704>),\nMichael DeWitt [aut] (ORCID: <https://orcid.org/0000-0001-8940-1967>)",
  "_user": "bcastanho",
  "_type": "src",
  "_file": "SCtools_0.3.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/7070b975e9da18054774a4b0d5a4cb96f369e706d7aa3e9efa7462118227e236",
  "_filesize": 2189889,
  "_sha256": "7070b975e9da18054774a4b0d5a4cb96f369e706d7aa3e9efa7462118227e236",
  "_expires": "2027-01-18T15:48:16.000Z",
  "_created": "2026-10-10T14:50:33.000Z",
  "_published": "2026-10-10T15:48:18.400Z",
  "_buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114239744844,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11673700401"
    },
    {
      "job": 114239744824,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11673202221"
    },
    {
      "job": 114239744758,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11675230468"
    },
    {
      "job": 114239744754,
      "time": 206,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11674936449"
    },
    {
      "job": 114239221139,
      "time": 164,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11673575267"
    },
    {
      "job": 114239744730,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11673610410"
    },
    {
      "job": 114239744849,
      "time": 84,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11673555439"
    },
    {
      "job": 114239744807,
      "time": 89,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11673675261"
    },
    {
      "job": 114239744766,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11672834825"
    }
  ],
  "_upstream": "https://github.com/bcastanho/sctools",
  "_commit": {
    "id": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
    "author": "Brno <bcastanho@hotmail.com>",
    "committer": "Brno <bcastanho@hotmail.com>",
    "message": "Update DESCRIPTION\n",
    "time": 1714479513
  },
  "_maintainer": {
    "name": "Bruno Castanho Silva",
    "email": "b.paula.castanho.e.silva@fu-berlin.de",
    "orcid": "0000-0001-9363-4704"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "future",
      "version": ">= 1.6.2",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Synth",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "cvTools",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bcastanho",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 13,
  "_contributors": [
    {
      "user": "medewitt",
      "count": 54,
      "uuid": 25038837
    },
    {
      "user": "bcastanho",
      "count": 54,
      "uuid": 18506097
    },
    {
      "user": "kiwifb",
      "count": 1,
      "uuid": 151475
    }
  ],
  "_userbio": {
    "uuid": 18506097,
    "type": "user",
    "name": "Bruno Castanho Silva",
    "followers": 31
  },
  "_downloads": {
    "count": 450,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SCtools"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/bcastanho/sctools",
  "_searchresults": 180,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SCtools.html"
  ],
  "_homeurl": "https://github.com/bcastanho/sctools",
  "_realowner": "bcastanho",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2019-12-12"
    },
    {
      "version": "0.3.1",
      "date": "2020-08-26"
    },
    {
      "version": "0.3.2",
      "date": "2022-06-01"
    },
    {
      "version": "0.3.2.1",
      "date": "2022-06-09"
    },
    {
      "version": "0.3.3",
      "date": "2024-05-01"
    },
    {
      "version": "0.3.3.1",
      "date": "2025-01-27"
    }
  ],
  "_exports": [
    "generate_placebos",
    "generate.placebos",
    "is_tdf",
    "is_tdf_multi",
    "mspe_plot",
    "mspe_test",
    "mspe.plot",
    "mspe.test",
    "multiple_synth",
    "multiple.synth",
    "plac_dist",
    "plac.dist",
    "plot_placebos"
  ],
  "_datasets": [
    {
      "name": "alcohol",
      "title": "World Alcohol per Capita Consumption",
      "object": "alcohol",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "country_name",
        "year",
        "consumption",
        "country_code",
        "labor_force_participation_rate",
        "mobile_cellular_subscriptions",
        "inflation",
        "manufacturing",
        "country_num"
      ],
      "rows": 5107,
      "table": true,
      "tojson": true
    },
    {
      "name": "synth.data",
      "title": "Synth Data Synthetic data that can be used to explore SCtools.",
      "object": "synth.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "unit.num",
        "year",
        "name",
        "Y",
        "X1",
        "X2",
        "X3"
      ],
      "rows": 168,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "SCtools-package",
      "title": "SCTools: Tools for Synthetic Control Methods",
      "topics": [
        "SCtools-package",
        "SCtools"
      ]
    },
    {
      "page": "alcohol",
      "title": "World Alcohol per Capita Consumption",
      "topics": [
        "alcohol"
      ]
    },
    {
      "page": "generate.placebos",
      "title": "Function to generate placebo synthetic controls",
      "topics": [
        "generate.placebos",
        "generate_placebos"
      ]
    },
    {
      "page": "is_tdf",
      "title": "Test if the object is a tdf object",
      "topics": [
        "is_tdf"
      ]
    },
    {
      "page": "is_tdf_multi",
      "title": "Test if the object is a tdf_multi object",
      "topics": [
        "is_tdf_multi"
      ]
    },
    {
      "page": "mspe.plot",
      "title": "Plot the post/pre-treatment MSPE ratio",
      "topics": [
        "mspe.plot",
        "mspe_plot"
      ]
    },
    {
      "page": "mspe.test",
      "title": "Function to compute the post/pre treatment MSPE ratio for the treated unit and placebos",
      "topics": [
        "mspe.test",
        "mspe_test"
      ]
    },
    {
      "page": "multiple.synth",
      "title": "Function to Apply Synthetic Controls to Multiple Treated Units",
      "topics": [
        "multiple.synth",
        "multiple_synth"
      ]
    },
    {
      "page": "plac.dist",
      "title": "Plot the distribution of placebo samples for synthetic control analysis with multiple treated units.",
      "topics": [
        "plac.dist",
        "plac_dist"
      ]
    },
    {
      "page": "plot_placebos",
      "title": "Function to plot placebos of a synthetic control analysis",
      "topics": [
        "plot_placebos"
      ]
    },
    {
      "page": "synth.data",
      "title": "Synth Data Synthetic data that can be used to explore SCtools.",
      "topics": [
        "synth.data"
      ]
    }
  ],
  "_readme": "https://github.com/bcastanho/sctools/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "cvTools",
    "DEoptimR",
    "digest",
    "dplyr",
    "farver",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "kernlab",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "nloptr",
    "numDeriv",
    "optimx",
    "parallelly",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "RColorBrewer",
    "rgenoud",
    "rlang",
    "robustbase",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "Synth",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "replicating-basque.Rmd",
      "filename": "replicating-basque.html",
      "title": "Replicating the Basque Study",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Extending the Analysis"
      ],
      "created": "2019-10-02 11:51:23",
      "modified": "2019-10-29 20:56:54",
      "commits": 6
    },
    {
      "source": "case-study.Rmd",
      "filename": "case-study.html",
      "title": "SCM Case Study on Alcohol Consumption",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Implementing Synthetic Controls",
        "Experimental Design",
        "The Next Steps",
        "Conclusion"
      ],
      "created": "2019-10-03 22:05:45",
      "modified": "2024-04-26 10:41:41",
      "commits": 6
    }
  ],
  "_score": 6.670245853074125,
  "_indexed": true,
  "_nocasepkg": "sctools",
  "_universes": [
    "bcastanho"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-10-10T14:52:32.000Z",
      "distro": "resolute",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/855abb8b8a2052bdf0bd37a9c3380e03d09e1a501b1cf81411331dbef01b1acb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-10-10T14:52:37.000Z",
      "distro": "resolute",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/2e0060029b0972f8177e8f573c9991a9a5ebdcea019b1ebb5c564e1bbff506eb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-10-10T15:40:52.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/b8a75599e7da68cbbd08b64bd494501e0b6dea37b51fefeba456d9017e08105f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-10-10T15:46:44.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/5a9021948a7ca94c83318c81199e6583f79a2fde10e90096a820fc185829ee9b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-10-10T14:52:31.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/27b8e9df1734a932ff59e6b5fa48d2715037397df095bdb940b33f440d342247",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-10-10T14:51:36.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/c5315d6796218884ce8552a225dbfe52fd590378e4d25a7b485076aac351010c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-10-10T14:51:40.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/e5d53a534404fed6689690af7295300e0ce69a779e3cfdf60f674b78b725d134",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-10-10T14:51:40.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "https://r2.ropensci.org/98bab0300b3a153424e9d747ecc7345b4758ca438e7a2fed57cd935773fa16fb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/38061029563"
    }
  ]
}