This function checks whether there are overlapping between the transitional countries.
overlap(old, new, var, year = "Year", data, take)
The FAOST_CODE of the old countries
The FAOST_CODE of the new countries
The variable to be checked
The column which index the time.
The data frame
The type of check/replacement to be done.