Dear Statalists, Please, could anyone help me?
I have a panel data set from 2001-2020, municipality level (I have 3 states with and the data is per municipalities of each state). In 2007, a policy was implemented just in one state. This state has boundaries with the other two states. Therefore, I believe I could use boundary discontinuity design. However, the policy is staggered throughout the years, that's, its adoption didn't occur instantaneously after 2007.
I thought I could use then difference in discontinuity.
Do you know the command I could use to create this analysis of study event using boundary discontinuity with a staggered policy and or/ this geographic difference in discontinuity?

Many thanks in advance!
Cheers.