causaldata
0.1.4Example Data Sets for Causal Inference Textbooks
Overview
Example data sets to run the example problems from causal inference textbooks. Currently, contains data sets for Huntington-Klein, Nick (2021 and 2025) "The Effect" https://theeffectbook.net, first and second edition, Cunningham, Scott (2021 and 2025, ISBN-13: 978-0-300-25168-5) "Causal Inference: The Mixtape", and Hernán, Miguel and James Robins (2020) "Causal Inference: What If" https://www.hsph.harvard.edu/miguel-hernan/causal-inference-book/.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-1613 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-07-1512 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- not tracked
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- References docs
- 94%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
Checks run against github.com/nickch-k/causaldata on 2026-08-16.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
Datasets
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.4Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.32021-12-01 · diff ↗
- 0.1.12021-05-20
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-05-20
- Total releases
- 3 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 2.0 MB / 34 files
- Download size
- 2.1 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("causaldata")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.