These R resources are work in progress
allows you to build plots and time series of nightlight intensity for (almost) any geospatial unit on the planet
with Mark Toth
available on github.
Event Studies can be done well in R
here is my translation of the Stata code for the Schmidheiny & Siegloch (2020) Event Study paper