A Tidy Implementation of the Synthetic Control Method
Overview
A synthetic control offers a way of evaluating the effect of an intervention in comparative case studies. The package makes a number of improvements when implementing the method in R. These improvements allow users to inspect, visualize, and tune the synthetic control more easily. A key benefit of a tidy implementation is that the entire preparation process for building the synthetic control can be accomplished in a single pipe.
- Added a
NEWS.mdfile to track changes to the package. - Resolved spelling errors.
- Fixed bug in
generate_predictors()for edge-cases where no aggregate function is supplied with a NULL time_window. - Adjusted ordering bug that can result in inconsistencies in the optimized weights when changing the time_window.
- Updated unit-tests to correspond with ordering bug fix on the weights.
- Add check the ensures post-treatment periods are included when running
grab_significance(). - Fixed issue where differences in temporal ordering in the data resulted in downstream distortions of the package output. Packaged now ensures the sequential time ordering when storing the original input data.
- Fixed
synthetic_control()when the treated unit doesn't come first in the data. - Drop dependency on LowRankQP, which is no longer maintained. The existing default optimization method ("ipop") is now the sole optimization method used in the package.
- Fixed small issue with documentation that prevented package from remaining on CRAN.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 21 (1 internal)
- Examples that run
- 0%17 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 94%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 5%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2025-03-24
- 0.2.1Latest
- archivedRemoved from CRAN2024-12-03issues were not corrected despite reminders
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-05-21
- 0.2.0
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2023-04-14requires archived package 'LowRankQP'
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.02021-01-27
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-27
- Total releases
- 3 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 17 KB / 1 file
- Download size
- 122 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tidysynth")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.