{"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":"S19002391","code_system":"NRS","name":"Musselburgh","alternative_names":[],"place_class":"Town","geography_type":"locality","geography_definition":"NRS Localities 2020","nation":"Scotland","canonical_url":"https://britainindata.co.uk/place/musselburgh","machine_url":"https://britainindata.co.uk/data/v1/places/musselburgh.json","local_authorities":[{"id":"S12000010","code_system":"GSS","name":"East Lothian","canonical_url":"https://britainindata.co.uk/area/east-lothian","machine_url":"https://britainindata.co.uk/data/v1/geographies/east-lothian.json","share_of_place":1,"method":"NRS council areas + grid-sample n=171","primary":true}],"location":{"lat":55.938047,"lon":-3.051073},"note":"A settlement is not its local authority: statistics below describe the settlement boundary only.","population":{"value":21100,"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":[498,560,565,515,692,815,754,719,675,650,852,845,767,553,564,393,312,215,142],"m":[583,574,656,469,679,766,641,652,607,681,647,766,656,482,471,309,187,138,50],"all":[1081,1134,1221,984,1371,1581,1395,1371,1282,1331,1499,1611,1423,1035,1035,702,499,353,192]},"broad_ages":{"labels":["Under 16","16-64","65 and over"],"all":[3436,13848,3816],"f":[1623,7284,2179],"m":[1813,6564,1637]},"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"}}