{"version":1,"type":"Settlement","data_version":"20261118T180351Z","registry_version":"20261118T115632Z","publisher":{"name":"Britain in Data","url":"https://britainindata.co.uk","@note":"Compiler and publisher of this representation; statistics originate with the cited source publishers."},"id":"S19001968","code_system":"NRS","name":"Ayr","alternative_names":[],"place_class":"Town","geography_type":"locality","geography_definition":"NRS Localities 2020","nation":"Scotland","canonical_url":"https://britainindata.co.uk/place/ayr","machine_url":"https://britainindata.co.uk/data/v1/places/ayr.json","local_authorities":[{"id":"S12000028","code_system":"GSS","name":"South Ayrshire","canonical_url":"https://britainindata.co.uk/area/south-ayrshire","machine_url":"https://britainindata.co.uk/data/v1/geographies/south-ayrshire.json","share_of_place":1,"method":"NRS council areas + grid-sample n=176","primary":true}],"location":{"lat":55.454898,"lon":-4.627048},"note":"A settlement is not its local authority: statistics below describe the settlement boundary only.","population":{"value":46260,"unit":"people","period":"2020","basis":"NRS mid-2020 population estimate","value_type":"estimated"},"statistics":{"basis":"NRS mid-2020 population estimate (Settlements and Localities, 2020 boundaries); not a census count","median_age":null,"age":{"bands":["0-4","5-9","10-15","16-19","20-24","25-29","30-34","35-39","40-44","45-49","50-54","55-59","60-64","65-69","70-74","75-79","80-84","85-89","90 & over"],"f":[957,1105,1460,924,1289,1249,1352,1227,1229,1485,1781,1858,1796,1678,1635,1208,974,621,397],"m":[1024,1172,1408,947,1306,1342,1268,1093,1085,1353,1472,1714,1583,1482,1447,1012,718,405,204],"all":[1981,2277,2868,1871,2595,2591,2620,2320,2314,2838,3253,3572,3379,3160,3082,2220,1692,1026,601]},"broad_ages":{"labels":["Under 16","16-64","65 and over"],"all":[7126,27353,11781],"f":[3522,14190,6513],"m":[3604,13163,5268]},"tenure":null,"accommodation":null,"qualifications":null,"employment":null,"industry":null,"occupation":null,"health":null,"suppressed_values":"null = withheld by the publisher (disclosure control)"},"source":{"id":"nrs-settlements-localities-2020","dataset":"Population estimates for settlements and localities in Scotland, mid-2020","publisher":"National Records of Scotland","source_url":"https://www.nrscotland.gov.uk/publications/population-estimates-for-settlements-and-localities-in-scotland-mid-2020/","licence":{"name":"Open Government Licence v3.0","url":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"}},"names_source":{"dataset":"OS Open Names","publisher":"Ordnance Survey","source_url":"https://www.ordnancesurvey.co.uk/products/os-open-names"}}