new version of get-data.R, using polity as a base