causaldata

Example Data Sets for Causal Inference Textbooks

CRAN Package

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/.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 2,231 times in the last 30 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 110 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
57 downloadsMar 3, 2025
158 downloadsMar 4, 2025
100 downloadsMar 5, 2025
74 downloadsMar 6, 2025
46 downloadsMar 7, 2025
66 downloadsMar 8, 2025
34 downloadsMar 9, 2025
51 downloadsMar 10, 2025
48 downloadsMar 11, 2025
117 downloadsMar 12, 2025
94 downloadsMar 13, 2025
37 downloadsMar 14, 2025
44 downloadsMar 15, 2025
67 downloadsMar 16, 2025
88 downloadsMar 17, 2025
105 downloadsMar 18, 2025
66 downloadsMar 19, 2025
88 downloadsMar 20, 2025
69 downloadsMar 21, 2025
91 downloadsMar 22, 2025
34 downloadsMar 23, 2025
112 downloadsMar 24, 2025
97 downloadsMar 25, 2025
50 downloadsMar 26, 2025
59 downloadsMar 27, 2025
125 downloadsMar 28, 2025
56 downloadsMar 29, 2025
38 downloadsMar 30, 2025
50 downloadsMar 31, 2025
110 downloadsApr 1, 2025
0 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
34
158

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 24,663 times in the last 365 days. The academic equivalent of having a dedicated subreddit. There are fans, and maybe even a few trolls! The day with the most downloads was Apr 05, 2024 with 188 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports1 package
  • Reverse Imports1 package
  • Reverse Suggests2 packages