{
  "_id": "6a2137bfcd65a98ecbd27069",
  "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-06-04 08:27:22 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>)",
  "MD5sum": "e24460a09a72d027febfe23df3f92486",
  "_user": "bcastanho",
  "_type": "src",
  "_file": "SCtools_0.3.3.tar.gz",
  "_fileid": "6b9c25003333fdd13da6aa40d777c74633105651c96131a47e355e042f32b070",
  "_filesize": 2187110,
  "_sha256": "6b9c25003333fdd13da6aa40d777c74633105651c96131a47e355e042f32b070",
  "_created": "2026-06-04T08:27:22.000Z",
  "_published": "2026-06-04T08:30:55.086Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79479643215,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7406664243"
    },
    {
      "job": 79479643239,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7406663471"
    },
    {
      "job": 79479643231,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7406652792"
    },
    {
      "job": 79479643242,
      "time": 178,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7406662690"
    },
    {
      "job": 79479111479,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406610539"
    },
    {
      "job": 79479643212,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406650707"
    },
    {
      "job": 79479643486,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7406648646"
    },
    {
      "job": 79479643272,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7406645176"
    },
    {
      "job": 79479643273,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7406642595"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 584,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SCtools"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/bcastanho/sctools",
  "_searchresults": 112,
  "_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/SCtools.html",
    "manual.pdf"
  ],
  "_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.464191370641,
  "_indexed": true,
  "_nocasepkg": "sctools",
  "_universes": [
    "bcastanho"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-04T08:29:38.000Z",
      "distro": "noble",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "2787278c8be491b513c1412a387b2d273eea105611d769ed0039d18294b7b61d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-04T08:29:36.000Z",
      "distro": "noble",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "58f5251ce171d4154d90458380b819ffa3897ec473869f1fee3206f96bc656a8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-04T08:29:19.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "279b7358b813f77d3116cd6beb7b3558d64823f1af50bd5396664d7b35298d0e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-04T08:29:37.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "48c64cc4dc12baab09ddf50f908bf7d3893932fb02178e3f93a48a2158277f24",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-06-04T08:29:30.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "079fe9057ec969ca91486f2f48b2be7e44ac5079feb40638fc897b06fa1f644e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-04T08:28:49.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "0e1dc23d18b3db88cce427ee3855de131da746a33464b234bff2334a90b7cd6a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-04T08:28:36.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "273583a91516a6348af9e8b95d2a8facdd3ab6a6a687fc8510d792928aa25ec5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-04T08:28:33.000Z",
      "commit": "64cdd39a6f0672d6a902c23a4cf8c0b82eb7ce50",
      "fileid": "7ed7d93f1c2e2ad4de0963bc794dbb9bd182ebdfca84e1aa8245d25ac9b48346",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bcastanho/actions/runs/26940055256"
    }
  ]
}