merge_pop_withid function

A function returning a merged dataframe from a list of population dataframes with id.