Map migration R + python script