📊 R Package: tscsdep
This package provides functions for creating geographic spatial weights matrices and estimating spatial models. It supports unbalanced data up to 2019 and includes wrappers for SAR, SEM, and SAC models.
library(devtools)
devtools::install_github("judechays/STADL", dependencies = TRUE)