{"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":"S19002433","code_system":"NRS","name":"Penicuik","alternative_names":[],"place_class":"Town","geography_type":"locality","geography_definition":"NRS Localities 2020","nation":"Scotland","canonical_url":"https://britainindata.co.uk/place/penicuik","machine_url":"https://britainindata.co.uk/data/v1/places/penicuik.json","local_authorities":[{"id":"S12000019","code_system":"GSS","name":"Midlothian","canonical_url":"https://britainindata.co.uk/area/midlothian","machine_url":"https://britainindata.co.uk/data/v1/geographies/midlothian.json","share_of_place":1,"method":"NRS council areas + grid-sample n=123","primary":true}],"location":{"lat":55.836663,"lon":-3.218397},"note":"A settlement is not its local authority: statistics below describe the settlement boundary only.","population":{"value":16150,"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":[375,451,504,313,389,536,483,532,512,478,576,580,588,540,575,371,277,146,84],"m":[399,512,530,384,472,456,481,435,461,502,525,545,517,488,496,303,203,90,41],"all":[774,963,1034,697,861,992,964,967,973,980,1101,1125,1105,1028,1071,674,480,236,125]},"broad_ages":{"labels":["Under 16","16-64","65 and over"],"all":[2771,9765,3614],"f":[1330,4987,1993],"m":[1441,4778,1621]},"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"}}