clear all
version 14
set more off
net set ado PERSONAL

program main
    install_via_github
    install_via_ssc
end

program install_via_github
    net from https://raw.githubusercontent.com/reifjulian/rscript/master
    net install rscript, replace
end

program install_via_ssc
    ssc install xtevent,           replace
    ssc install ftools,            replace
    ssc install reghdfe,           replace
    ssc install did_imputation,    replace
    ssc install did_multiplegt,    replace
    ssc install synth,             replace
    ssc install hdfe,              replace
    ssc install coefplot,          replace
    ssc install eventstudyweights, replace
end

main

