Eurovision neighbourhood effect


I am currently trying to mess with statistics, and was trying to see if there is an effect of neighbourhood voting/cultural/migration influences on voting, by creating a null hypothesis and an alternate hypothesis. I have been lurking on the net if someone has done something similar using R/Python code. Have you encountered something of the sort? I just wanted a starting point for my research.