Theresa Graefe (Ulm University) has created a very nice RTutor that allows you to replicate the main results of a recent AEJ paper on the causal effects of a CO2 tax in Sweden using the syntetic control method.
This method constructs a synthetic control unit as a weighted average of available control units that best approximate the relevant characteristics of the treated unit prior to treatment.