The figures, published earlier last year by The Times, rank the country's schools according to the percentage of primary seven pupils meeting the required standard in core skills in Scotland’s curriculum for excellence.
The data from the Scottish Government allows parents to analyse standards across the 1,200 schools that published results.
The table is compiled from official data submitted to Scottish ministers. The Times assigned each primary school a score out of 400, which draws together the percentage of pupils up to standard in four skills into a single comparable metric.
A spokesperson for The Times said: “These statistics do not capture the full range of success and adversity teachers and pupils face each day, but they do enable parents to grasp core information relating to the performance of their children’s schools.”
Scroll through our photo gallery to see where Edinburgh and the Lothians primary schools rank in the list.