experimentdatar

lifecycle Travis build status AppVeyor build status

experimentdatar is a data package that contains publicly available datasets that were used in Susan Athey and Guido Imbens' course "Machine Learning and Econometrics" (AEA continuing Education, 2018).

Installation

You can install the development version from GitHub

# install.packages("devtools")
devtools::install_github("itamarcaspi/experimentdatar")

Usage

Load experimentdatar and other required libraries

library(dplyr)
library(experimentdatar)

Load the social dataset and display the response and treatment variables

data(social)  
social %>% 
  select(outcome_voted, treat_neighbors) %>% 
  head()

There is also a function dataDetails() that opens the original paper where the data was used

dataDetails("social")

List of available datasets

Code of conduct

Please note that the 'experimentdatar' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



itamarcaspi/experimentdatar documentation built on May 6, 2019, 1:36 a.m.