SE asian split + pass
This commit is contained in:
parent
85da1941aa
commit
08560476c5
16 changed files with 115 additions and 57 deletions
|
|
@ -88,7 +88,8 @@ const descriptions: Record<string, Record<string, string>> = {
|
||||||
'% White': 'Part de la population s’identifiant comme blanche',
|
'% White': 'Part de la population s’identifiant comme blanche',
|
||||||
'% South Asian': 'Part de la population s’identifiant comme sud-asiatique',
|
'% South Asian': 'Part de la population s’identifiant comme sud-asiatique',
|
||||||
'% Black': 'Part de la population s’identifiant comme noire',
|
'% Black': 'Part de la population s’identifiant comme noire',
|
||||||
'% East/SE Asian': 'Part de la population s’identifiant comme est/sud-est asiatique',
|
'% East Asian': 'Part de la population s’identifiant comme est-asiatique',
|
||||||
|
'% SE Asian': 'Part de la population s’identifiant comme sud-est asiatique',
|
||||||
'% Mixed':
|
'% Mixed':
|
||||||
'Part de la population s’identifiant comme métisse ou de plusieurs groupes ethniques',
|
'Part de la population s’identifiant comme métisse ou de plusieurs groupes ethniques',
|
||||||
'% Other': 'Part de la population s’identifiant comme appartenant à un autre groupe ethnique',
|
'% Other': 'Part de la population s’identifiant comme appartenant à un autre groupe ethnique',
|
||||||
|
|
@ -188,7 +189,8 @@ const descriptions: Record<string, Record<string, string>> = {
|
||||||
'% White': 'Anteil der Personen, die sich als weiß identifizieren',
|
'% White': 'Anteil der Personen, die sich als weiß identifizieren',
|
||||||
'% South Asian': 'Anteil der Personen, die sich als südasiatisch identifizieren',
|
'% South Asian': 'Anteil der Personen, die sich als südasiatisch identifizieren',
|
||||||
'% Black': 'Anteil der Personen, die sich als schwarz identifizieren',
|
'% Black': 'Anteil der Personen, die sich als schwarz identifizieren',
|
||||||
'% East/SE Asian': 'Anteil der Personen, die sich als ost-/südostasiatisch identifizieren',
|
'% East Asian': 'Anteil der Personen, die sich als ostasiatisch identifizieren',
|
||||||
|
'% SE Asian': 'Anteil der Personen, die sich als südostasiatisch identifizieren',
|
||||||
'% Mixed':
|
'% Mixed':
|
||||||
'Anteil der Personen, die sich als gemischt oder mehreren ethnischen Gruppen zugehörig identifizieren',
|
'Anteil der Personen, die sich als gemischt oder mehreren ethnischen Gruppen zugehörig identifizieren',
|
||||||
'% Other': 'Anteil der Personen, die sich einer anderen ethnischen Gruppe zuordnen',
|
'% Other': 'Anteil der Personen, die sich einer anderen ethnischen Gruppe zuordnen',
|
||||||
|
|
@ -266,7 +268,8 @@ const descriptions: Record<string, Record<string, string>> = {
|
||||||
'% White': '白人人口比例',
|
'% White': '白人人口比例',
|
||||||
'% South Asian': '南亚裔人口比例',
|
'% South Asian': '南亚裔人口比例',
|
||||||
'% Black': '黑人人口比例',
|
'% Black': '黑人人口比例',
|
||||||
'% East/SE Asian': '东亚/东南亚裔人口比例',
|
'% East Asian': '东亚裔人口比例',
|
||||||
|
'% SE Asian': '东南亚裔人口比例',
|
||||||
'% Mixed': '混血或多族裔人口比例',
|
'% Mixed': '混血或多族裔人口比例',
|
||||||
'% Other': '其他族裔人口比例',
|
'% Other': '其他族裔人口比例',
|
||||||
'Voter turnout (%)': '2024 年大选中登记选民的投票率',
|
'Voter turnout (%)': '2024 年大选中登记选民的投票率',
|
||||||
|
|
@ -352,7 +355,8 @@ const descriptions: Record<string, Record<string, string>> = {
|
||||||
'% White': 'श्वेत के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
'% White': 'श्वेत के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
||||||
'% South Asian': 'दक्षिण एशियाई के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
'% South Asian': 'दक्षिण एशियाई के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
||||||
'% Black': 'अश्वेत के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
'% Black': 'अश्वेत के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
||||||
'% East/SE Asian': 'पूर्वी/दक्षिण-पूर्वी एशियाई के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
'% East Asian': 'पूर्वी एशियाई के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
||||||
|
'% SE Asian': 'दक्षिण-पूर्वी एशियाई के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
||||||
'% Mixed': 'मिश्रित या कई जातीय समूहों से पहचान करने वाली आबादी का प्रतिशत',
|
'% Mixed': 'मिश्रित या कई जातीय समूहों से पहचान करने वाली आबादी का प्रतिशत',
|
||||||
'% Other': 'अन्य जातीय समूह के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
'% Other': 'अन्य जातीय समूह के रूप में पहचान करने वाली आबादी का प्रतिशत',
|
||||||
'Voter turnout (%)': '2024 आम चुनाव में मतदान करने वाले पंजीकृत मतदाताओं का प्रतिशत',
|
'Voter turnout (%)': '2024 आम चुनाव में मतदान करने वाले पंजीकृत मतदाताओं का प्रतिशत',
|
||||||
|
|
@ -444,7 +448,8 @@ const descriptions: Record<string, Record<string, string>> = {
|
||||||
'% White': 'A fehérként azonosított lakosság aránya',
|
'% White': 'A fehérként azonosított lakosság aránya',
|
||||||
'% South Asian': 'A dél-ázsiaiként azonosított lakosság aránya',
|
'% South Asian': 'A dél-ázsiaiként azonosított lakosság aránya',
|
||||||
'% Black': 'A feketeként azonosított lakosság aránya',
|
'% Black': 'A feketeként azonosított lakosság aránya',
|
||||||
'% East/SE Asian': 'A kelet-/délkelet-ázsiaiként azonosított lakosság aránya',
|
'% East Asian': 'A kelet-ázsiaiként azonosított lakosság aránya',
|
||||||
|
'% SE Asian': 'A délkelet-ázsiaiként azonosított lakosság aránya',
|
||||||
'% Mixed': 'A vegyes vagy több etnikai csoporthoz tartozóként azonosított lakosság aránya',
|
'% Mixed': 'A vegyes vagy több etnikai csoporthoz tartozóként azonosított lakosság aránya',
|
||||||
'% Other': 'Az egyéb etnikai csoportba tartozóként azonosított lakosság aránya',
|
'% Other': 'Az egyéb etnikai csoportba tartozóként azonosított lakosság aránya',
|
||||||
'Voter turnout (%)':
|
'Voter turnout (%)':
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,10 @@ export const details: Record<string, Record<string, string>> = {
|
||||||
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Indien, Pakistanais, Bangladais ou toute autre origine asiatique.",
|
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Indien, Pakistanais, Bangladais ou toute autre origine asiatique.",
|
||||||
'% Black':
|
'% Black':
|
||||||
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Noir, Noir britannique, Caribéen ou Africain.",
|
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Noir, Noir britannique, Caribéen ou Africain.",
|
||||||
'% East/SE Asian':
|
'% East Asian':
|
||||||
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Chinois ou d'une autre origine est/sud-est asiatique.",
|
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Chinois.",
|
||||||
|
'% SE Asian':
|
||||||
|
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme appartenant à une autre origine est/sud-est asiatique (par ex. Philippin, Vietnamien ou Thaïlandais).",
|
||||||
'% Mixed':
|
'% Mixed':
|
||||||
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Mixte ou appartenant à plusieurs groupes ethniques (Blanc et Noir caribéen, Blanc et Noir africain, Blanc et Asiatique, ou tout autre fond mixte ou multiple).",
|
"Provient du Census 2021. Pourcentage de la population de l'autorité locale s'identifiant comme Mixte ou appartenant à plusieurs groupes ethniques (Blanc et Noir caribéen, Blanc et Noir africain, Blanc et Asiatique, ou tout autre fond mixte ou multiple).",
|
||||||
'% Other':
|
'% Other':
|
||||||
|
|
@ -255,8 +257,10 @@ export const details: Record<string, Record<string, string>> = {
|
||||||
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als Indisch, Pakistanisch, Bangladeschisch oder mit sonstigem asiatischen Hintergrund identifiziert.',
|
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als Indisch, Pakistanisch, Bangladeschisch oder mit sonstigem asiatischen Hintergrund identifiziert.',
|
||||||
'% Black':
|
'% Black':
|
||||||
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als Schwarz, Schwarz-Britisch, Karibisch oder Afrikanisch identifiziert.',
|
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als Schwarz, Schwarz-Britisch, Karibisch oder Afrikanisch identifiziert.',
|
||||||
'% East/SE Asian':
|
'% East Asian':
|
||||||
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als Chinesisch oder einer anderen ost-/südostasiatischen Herkunft identifiziert.',
|
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als Chinesisch identifiziert.',
|
||||||
|
'% SE Asian':
|
||||||
|
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich mit einer anderen (nicht chinesischen) ost-/südostasiatischen Herkunft identifiziert, z. B. philippinisch, vietnamesisch oder thailändisch.',
|
||||||
'% Mixed':
|
'% Mixed':
|
||||||
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als gemischt oder mit mehreren ethnischen Zugehörigkeiten identifiziert (Weiß und Schwarzkaribisch, Weiß und Schwarzafrikanisch, Weiß und Asiatisch oder sonstiger gemischter Hintergrund).',
|
'Aus dem Census 2021. Prozentsatz der Bevölkerung der Gemeinde, die sich als gemischt oder mit mehreren ethnischen Zugehörigkeiten identifiziert (Weiß und Schwarzkaribisch, Weiß und Schwarzafrikanisch, Weiß und Asiatisch oder sonstiger gemischter Hintergrund).',
|
||||||
'% Other':
|
'% Other':
|
||||||
|
|
@ -398,7 +402,9 @@ export const details: Record<string, Record<string, string>> = {
|
||||||
'% South Asian':
|
'% South Asian':
|
||||||
'来自2021年Census。地方政府人口中认同为印度人、巴基斯坦人、孟加拉国人或其他亚洲背景的百分比。',
|
'来自2021年Census。地方政府人口中认同为印度人、巴基斯坦人、孟加拉国人或其他亚洲背景的百分比。',
|
||||||
'% Black': '来自2021年Census。地方政府人口中认同为黑人、英国黑人、加勒比人或非洲人的百分比。',
|
'% Black': '来自2021年Census。地方政府人口中认同为黑人、英国黑人、加勒比人或非洲人的百分比。',
|
||||||
'% East/SE Asian': '来自2021年Census。地方政府人口中认同为华人或其他东亚/东南亚裔的百分比。',
|
'% East Asian': '来自2021年Census。地方政府人口中认同为华人的百分比。',
|
||||||
|
'% SE Asian':
|
||||||
|
'来自2021年Census。地方政府人口中认同为其他(非华人)东亚/东南亚裔(如菲律宾裔、越南裔或泰裔)的百分比。',
|
||||||
'% Mixed':
|
'% Mixed':
|
||||||
'来自2021年 Census。地方政府人口中认同为混血或多种族群体(白人与黑人加勒比裔、白人与黑人非洲裔、白人与亚洲裔,或其他混血或多种族背景)的百分比。',
|
'来自2021年 Census。地方政府人口中认同为混血或多种族群体(白人与黑人加勒比裔、白人与黑人非洲裔、白人与亚洲裔,或其他混血或多种族背景)的百分比。',
|
||||||
'% Other':
|
'% Other':
|
||||||
|
|
@ -539,8 +545,10 @@ export const details: Record<string, Record<string, string>> = {
|
||||||
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को भारतीय, पाकिस्तानी, बांग्लादेशी या किसी अन्य एशियाई पृष्ठभूमि के रूप में पहचानता है.',
|
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को भारतीय, पाकिस्तानी, बांग्लादेशी या किसी अन्य एशियाई पृष्ठभूमि के रूप में पहचानता है.',
|
||||||
'% Black':
|
'% Black':
|
||||||
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को अश्वेत, अश्वेत ब्रिटिश, कैरिबियाई या अफ्रीकी के रूप में पहचानता है.',
|
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को अश्वेत, अश्वेत ब्रिटिश, कैरिबियाई या अफ्रीकी के रूप में पहचानता है.',
|
||||||
'% East/SE Asian':
|
'% East Asian':
|
||||||
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को चीनी या अन्य पूर्वी/दक्षिण-पूर्वी एशियाई के रूप में पहचानता है.',
|
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को चीनी के रूप में पहचानता है.',
|
||||||
|
'% SE Asian':
|
||||||
|
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को अन्य (गैर-चीनी) पूर्वी/दक्षिण-पूर्वी एशियाई (जैसे फिलिपिनो, वियतनामी या थाई) के रूप में पहचानता है.',
|
||||||
'% Mixed':
|
'% Mixed':
|
||||||
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को मिश्रित या कई जातीय समूहों (श्वेत और अश्वेत कैरिबियाई, श्वेत और अश्वेत अफ्रीकी, श्वेत और एशियाई या अन्य मिश्रित/बहुजातीय पृष्ठभूमि) के रूप में पहचानता है.',
|
'Census 2021 से. स्थानीय प्राधिकरण की आबादी का प्रतिशत जो खुद को मिश्रित या कई जातीय समूहों (श्वेत और अश्वेत कैरिबियाई, श्वेत और अश्वेत अफ्रीकी, श्वेत और एशियाई या अन्य मिश्रित/बहुजातीय पृष्ठभूमि) के रूप में पहचानता है.',
|
||||||
'% Other':
|
'% Other':
|
||||||
|
|
@ -685,8 +693,10 @@ export const details: Record<string, Record<string, string>> = {
|
||||||
'A 2021-es Census alapján. A helyi hatóság területén indiai, pakisztáni, bangladesi vagy bármely más ázsiai háttérként azonosított népesség százaléka.',
|
'A 2021-es Census alapján. A helyi hatóság területén indiai, pakisztáni, bangladesi vagy bármely más ázsiai háttérként azonosított népesség százaléka.',
|
||||||
'% Black':
|
'% Black':
|
||||||
'A 2021-es Census alapján. A helyi hatóság területén fekete, brit fekete, karibi vagy afrikai háttérként azonosított népesség százaléka.',
|
'A 2021-es Census alapján. A helyi hatóság területén fekete, brit fekete, karibi vagy afrikai háttérként azonosított népesség százaléka.',
|
||||||
'% East/SE Asian':
|
'% East Asian':
|
||||||
'A 2021-es Census alapján. A helyi hatóság területén kínai vagy más kelet-/délkelet-ázsiai származásúként azonosított népesség százaléka.',
|
'A 2021-es Census alapján. A helyi hatóság területén kínaiként azonosított népesség százaléka.',
|
||||||
|
'% SE Asian':
|
||||||
|
'A 2021-es Census alapján. A helyi hatóság területén más (nem kínai) kelet-/délkelet-ázsiai származásúként (pl. filippínó, vietnámi vagy thai) azonosított népesség százaléka.',
|
||||||
'% Mixed':
|
'% Mixed':
|
||||||
'A 2021-es Census alapján. A helyi hatóság területén vegyes vagy többes etnikai csoportként (fehér és fekete karibi, fehér és fekete afrikai, fehér és ázsiai, vagy bármely más vegyes vagy többes háttér) azonosított népesség százaléka.',
|
'A 2021-es Census alapján. A helyi hatóság területén vegyes vagy többes etnikai csoportként (fehér és fekete karibi, fehér és fekete afrikai, fehér és ázsiai, vagy bármely más vegyes vagy többes háttér) azonosított népesség százaléka.',
|
||||||
'% Other':
|
'% Other':
|
||||||
|
|
|
||||||
|
|
@ -1111,7 +1111,7 @@ const de: Translations = {
|
||||||
dsEthnicityName: 'Bevölkerung nach Ethnie (Zensus 2021)',
|
dsEthnicityName: 'Bevölkerung nach Ethnie (Zensus 2021)',
|
||||||
dsEthnicityOrigin: 'ONS',
|
dsEthnicityOrigin: 'ONS',
|
||||||
dsEthnicityUse:
|
dsEthnicityUse:
|
||||||
'Bevölkerungsanteile nach ethnischer Gruppe (südasiatisch, ostasiatisch, schwarz, gemischt, weiß, andere) pro Bezirk.',
|
'Bevölkerungsanteile nach ethnischer Gruppe (südasiatisch, ostasiatisch, südostasiatisch, schwarz, gemischt, weiß, andere) pro Bezirk.',
|
||||||
dsCrimeName: 'Kriminalitätsdaten auf Straßenebene',
|
dsCrimeName: 'Kriminalitätsdaten auf Straßenebene',
|
||||||
dsCrimeOrigin: 'data.police.uk',
|
dsCrimeOrigin: 'data.police.uk',
|
||||||
dsCrimeUse:
|
dsCrimeUse:
|
||||||
|
|
@ -1511,7 +1511,8 @@ const de: Translations = {
|
||||||
'% White': '% weiß',
|
'% White': '% weiß',
|
||||||
'% South Asian': '% südasiatisch',
|
'% South Asian': '% südasiatisch',
|
||||||
'% Black': '% schwarz',
|
'% Black': '% schwarz',
|
||||||
'% East/SE Asian': '% ost-/südostasiatisch',
|
'% East Asian': '% ostasiatisch',
|
||||||
|
'% SE Asian': '% südostasiatisch',
|
||||||
'% Mixed': '% gemischt',
|
'% Mixed': '% gemischt',
|
||||||
'% Other': '% Sonstige',
|
'% Other': '% Sonstige',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1093,7 +1093,7 @@ const en = {
|
||||||
dsEthnicityName: 'Population by Ethnicity (2021 Census)',
|
dsEthnicityName: 'Population by Ethnicity (2021 Census)',
|
||||||
dsEthnicityOrigin: 'ONS',
|
dsEthnicityOrigin: 'ONS',
|
||||||
dsEthnicityUse:
|
dsEthnicityUse:
|
||||||
'Population percentages by ethnic group (South Asian, East Asian, Black, Mixed, White, Other) per local authority.',
|
'Population percentages by ethnic group (South Asian, East Asian, SE Asian, Black, Mixed, White, Other) per local authority.',
|
||||||
dsCrimeName: 'Street-level Crime Data',
|
dsCrimeName: 'Street-level Crime Data',
|
||||||
dsCrimeOrigin: 'data.police.uk',
|
dsCrimeOrigin: 'data.police.uk',
|
||||||
dsCrimeUse:
|
dsCrimeUse:
|
||||||
|
|
@ -1485,7 +1485,8 @@ const en = {
|
||||||
'% White': '% White',
|
'% White': '% White',
|
||||||
'% South Asian': '% South Asian',
|
'% South Asian': '% South Asian',
|
||||||
'% Black': '% Black',
|
'% Black': '% Black',
|
||||||
'% East/SE Asian': '% East/SE Asian',
|
'% East Asian': '% East Asian',
|
||||||
|
'% SE Asian': '% SE Asian',
|
||||||
'% Mixed': '% Mixed',
|
'% Mixed': '% Mixed',
|
||||||
'% Other': '% Other',
|
'% Other': '% Other',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1125,7 +1125,7 @@ const fr: Translations = {
|
||||||
dsEthnicityName: 'Population par ethnie (recensement 2021)',
|
dsEthnicityName: 'Population par ethnie (recensement 2021)',
|
||||||
dsEthnicityOrigin: 'ONS',
|
dsEthnicityOrigin: 'ONS',
|
||||||
dsEthnicityUse:
|
dsEthnicityUse:
|
||||||
'Pourcentages de population par groupe ethnique (sud-asiatique, est-asiatique, noir, mixte, blanc, autre) par autorité locale.',
|
'Pourcentages de population par groupe ethnique (sud-asiatique, est-asiatique, sud-est asiatique, noir, mixte, blanc, autre) par autorité locale.',
|
||||||
dsCrimeName: 'Données de criminalité au niveau rue',
|
dsCrimeName: 'Données de criminalité au niveau rue',
|
||||||
dsCrimeOrigin: 'data.police.uk',
|
dsCrimeOrigin: 'data.police.uk',
|
||||||
dsCrimeUse:
|
dsCrimeUse:
|
||||||
|
|
@ -1528,7 +1528,8 @@ const fr: Translations = {
|
||||||
'% White': '% Blancs',
|
'% White': '% Blancs',
|
||||||
'% South Asian': '% Sud-Asiatiques',
|
'% South Asian': '% Sud-Asiatiques',
|
||||||
'% Black': '% Noirs',
|
'% Black': '% Noirs',
|
||||||
'% East/SE Asian': '% est/sud-est asiatique',
|
'% East Asian': '% est-asiatique',
|
||||||
|
'% SE Asian': '% sud-est asiatique',
|
||||||
'% Mixed': '% Métis',
|
'% Mixed': '% Métis',
|
||||||
'% Other': '% Autres',
|
'% Other': '% Autres',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1071,7 +1071,7 @@ const hi: Translations = {
|
||||||
dsEthnicityName: 'जातीयता के अनुसार जनसंख्या (2021 जनगणना)',
|
dsEthnicityName: 'जातीयता के अनुसार जनसंख्या (2021 जनगणना)',
|
||||||
dsEthnicityOrigin: 'ONS',
|
dsEthnicityOrigin: 'ONS',
|
||||||
dsEthnicityUse:
|
dsEthnicityUse:
|
||||||
'स्थानीय प्राधिकरण के अनुसार जातीय समूहों (दक्षिण एशियाई, पूर्वी एशियाई, अश्वेत, मिश्रित, श्वेत, अन्य) की जनसंख्या प्रतिशत.',
|
'स्थानीय प्राधिकरण के अनुसार जातीय समूहों (दक्षिण एशियाई, पूर्वी एशियाई, दक्षिण-पूर्वी एशियाई, अश्वेत, मिश्रित, श्वेत, अन्य) की जनसंख्या प्रतिशत.',
|
||||||
dsCrimeName: 'सड़क-स्तर अपराध डेटा',
|
dsCrimeName: 'सड़क-स्तर अपराध डेटा',
|
||||||
dsCrimeOrigin: 'data.police.uk',
|
dsCrimeOrigin: 'data.police.uk',
|
||||||
dsCrimeUse:
|
dsCrimeUse:
|
||||||
|
|
@ -1431,7 +1431,8 @@ const hi: Translations = {
|
||||||
'% White': '% श्वेत',
|
'% White': '% श्वेत',
|
||||||
'% South Asian': '% दक्षिण एशियाई',
|
'% South Asian': '% दक्षिण एशियाई',
|
||||||
'% Black': '% अश्वेत',
|
'% Black': '% अश्वेत',
|
||||||
'% East/SE Asian': '% पूर्वी/दक्षिण-पूर्वी एशियाई',
|
'% East Asian': '% पूर्वी एशियाई',
|
||||||
|
'% SE Asian': '% दक्षिण-पूर्वी एशियाई',
|
||||||
'% Mixed': '% मिश्रित',
|
'% Mixed': '% मिश्रित',
|
||||||
'% Other': '% अन्य',
|
'% Other': '% अन्य',
|
||||||
'Voter turnout (%)': 'मतदाता भागीदारी (%)',
|
'Voter turnout (%)': 'मतदाता भागीदारी (%)',
|
||||||
|
|
|
||||||
|
|
@ -1113,7 +1113,7 @@ const hu: Translations = {
|
||||||
dsEthnicityName: 'Népesség etnikai megoszlás szerint (2021-es népszámlálás)',
|
dsEthnicityName: 'Népesség etnikai megoszlás szerint (2021-es népszámlálás)',
|
||||||
dsEthnicityOrigin: 'ONS',
|
dsEthnicityOrigin: 'ONS',
|
||||||
dsEthnicityUse:
|
dsEthnicityUse:
|
||||||
'Népesség százalékos megoszlása etnikai csoportonként (dél-ázsiai, kelet-ázsiai, fekete, vegyes, fehér, egyéb) helyi önkormányzatonként.',
|
'Népesség százalékos megoszlása etnikai csoportonként (dél-ázsiai, kelet-ázsiai, délkelet-ázsiai, fekete, vegyes, fehér, egyéb) helyi önkormányzatonként.',
|
||||||
dsCrimeName: 'Utcaszintű bűnözési adatok',
|
dsCrimeName: 'Utcaszintű bűnözési adatok',
|
||||||
dsCrimeOrigin: 'data.police.uk',
|
dsCrimeOrigin: 'data.police.uk',
|
||||||
dsCrimeUse:
|
dsCrimeUse:
|
||||||
|
|
@ -1511,7 +1511,8 @@ const hu: Translations = {
|
||||||
'% White': '% fehér',
|
'% White': '% fehér',
|
||||||
'% South Asian': '% dél-ázsiai',
|
'% South Asian': '% dél-ázsiai',
|
||||||
'% Black': '% fekete',
|
'% Black': '% fekete',
|
||||||
'% East/SE Asian': '% kelet-/dél-kelet-ázsiai',
|
'% East Asian': '% kelet-ázsiai',
|
||||||
|
'% SE Asian': '% délkelet-ázsiai',
|
||||||
'% Mixed': '% vegyes',
|
'% Mixed': '% vegyes',
|
||||||
'% Other': '% egyéb',
|
'% Other': '% egyéb',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1046,7 +1046,7 @@ const zh: Translations = {
|
||||||
dsEthnicityName: '按族裔划分的人口(2021 年人口普查)',
|
dsEthnicityName: '按族裔划分的人口(2021 年人口普查)',
|
||||||
dsEthnicityOrigin: 'ONS',
|
dsEthnicityOrigin: 'ONS',
|
||||||
dsEthnicityUse:
|
dsEthnicityUse:
|
||||||
'按族裔群体(南亚裔、东亚裔、黑人、混血、白人、其他)划分的各地方政府辖区人口百分比。',
|
'按族裔群体(南亚裔、东亚裔、东南亚裔、黑人、混血、白人、其他)划分的各地方政府辖区人口百分比。',
|
||||||
dsCrimeName: '街道级犯罪数据',
|
dsCrimeName: '街道级犯罪数据',
|
||||||
dsCrimeOrigin: 'data.police.uk',
|
dsCrimeOrigin: 'data.police.uk',
|
||||||
dsCrimeUse:
|
dsCrimeUse:
|
||||||
|
|
@ -1430,7 +1430,8 @@ const zh: Translations = {
|
||||||
'% White': '% 白人',
|
'% White': '% 白人',
|
||||||
'% South Asian': '% 南亚裔',
|
'% South Asian': '% 南亚裔',
|
||||||
'% Black': '% 黑人',
|
'% Black': '% 黑人',
|
||||||
'% East/SE Asian': '% 东亚/东南亚裔',
|
'% East Asian': '% 东亚裔',
|
||||||
|
'% SE Asian': '% 东南亚裔',
|
||||||
'% Mixed': '% 混血',
|
'% Mixed': '% 混血',
|
||||||
'% Other': '% 其他',
|
'% Other': '% 其他',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -267,7 +267,15 @@ export const STACKED_GROUPS: Record<
|
||||||
{
|
{
|
||||||
label: 'Ethnic composition',
|
label: 'Ethnic composition',
|
||||||
unit: '%',
|
unit: '%',
|
||||||
components: ['% White', '% South Asian', '% East/SE Asian', '% Black', '% Mixed', '% Other'],
|
components: [
|
||||||
|
'% White',
|
||||||
|
'% South Asian',
|
||||||
|
'% East Asian',
|
||||||
|
'% SE Asian',
|
||||||
|
'% Black',
|
||||||
|
'% Mixed',
|
||||||
|
'% Other',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Political vote share',
|
label: 'Political vote share',
|
||||||
|
|
@ -444,7 +452,8 @@ export const STACKED_SEGMENT_COLORS: Record<string, string> = {
|
||||||
'Other crime (avg/yr)': '#6b7280',
|
'Other crime (avg/yr)': '#6b7280',
|
||||||
'% White': '#3b82f6',
|
'% White': '#3b82f6',
|
||||||
'% South Asian': '#f97316',
|
'% South Asian': '#f97316',
|
||||||
'% East/SE Asian': '#eab308',
|
'% East Asian': '#eab308',
|
||||||
|
'% SE Asian': '#ec4899',
|
||||||
'% Black': '#8b5cf6',
|
'% Black': '#8b5cf6',
|
||||||
'% Mixed': '#14b8a6',
|
'% Mixed': '#14b8a6',
|
||||||
'% Other': '#6b7280',
|
'% Other': '#6b7280',
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@ export const ETHNICITIES_FILTER_KEY_PREFIX = `${ETHNICITIES_FILTER_NAME}:`;
|
||||||
export const ETHNICITY_FEATURE_NAMES = [
|
export const ETHNICITY_FEATURE_NAMES = [
|
||||||
'% White',
|
'% White',
|
||||||
'% South Asian',
|
'% South Asian',
|
||||||
'% East/SE Asian',
|
'% East Asian',
|
||||||
|
'% SE Asian',
|
||||||
'% Black',
|
'% Black',
|
||||||
'% Mixed',
|
'% Mixed',
|
||||||
'% Other',
|
'% Other',
|
||||||
|
|
|
||||||
|
|
@ -367,7 +367,15 @@ const FEATURE_ICON_PATHS: Record<string, ReactNode> = {
|
||||||
<path d="M16 3.13a4 4 0 010 7.75" />
|
<path d="M16 3.13a4 4 0 010 7.75" />
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
'% East/SE Asian': (
|
'% East Asian': (
|
||||||
|
<>
|
||||||
|
<path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2" />
|
||||||
|
<circle cx="9" cy="7" r="4" />
|
||||||
|
<path d="M23 21v-2a4 4 0 00-3-3.87" />
|
||||||
|
<path d="M16 3.13a4 4 0 010 7.75" />
|
||||||
|
</>
|
||||||
|
),
|
||||||
|
'% SE Asian': (
|
||||||
<>
|
<>
|
||||||
<path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2" />
|
<path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2" />
|
||||||
<circle cx="9" cy="7" r="4" />
|
<circle cx="9" cy="7" r="4" />
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
Downloads the 20-category ethnic-group breakdown (TS021, classification
|
Downloads the 20-category ethnic-group breakdown (TS021, classification
|
||||||
C2021_ETH_20) from the NOMIS API at LSOA 2021 granularity, folds the 19 detailed
|
C2021_ETH_20) from the NOMIS API at LSOA 2021 granularity, folds the 19 detailed
|
||||||
leaf categories into our 6 output buckets, and emits one row per LSOA with the
|
leaf categories into our 7 output buckets, and emits one row per LSOA with the
|
||||||
percentage in each bucket.
|
percentage in each bucket.
|
||||||
|
|
||||||
Sourcing at LSOA (~33,755 England areas) rather than Local Authority (~319) is a
|
Sourcing at LSOA (~33,755 England areas) rather than Local Authority (~319) is a
|
||||||
~100x granularity gain with no change to the 6-bucket output schema: two very
|
~100x granularity gain with no change to the 7-bucket output schema: two very
|
||||||
different neighbourhoods in one borough no longer share an identical ethnicity
|
different neighbourhoods in one borough no longer share an identical ethnicity
|
||||||
profile. The join key downstream (merge.py) is `lsoa21`, the same key already
|
profile. The join key downstream (merge.py) is `lsoa21`, the same key already
|
||||||
used for median age and IoD.
|
used for median age and IoD.
|
||||||
|
|
@ -37,13 +37,14 @@ BASE_URL = (
|
||||||
)
|
)
|
||||||
PAGE_SIZE = 25000
|
PAGE_SIZE = 25000
|
||||||
|
|
||||||
# Map the 19 detailed NOMIS C2021_ETH_20 leaf categories to our 6 output groups.
|
# Map the 19 detailed NOMIS C2021_ETH_20 leaf categories to our 7 output groups.
|
||||||
# The split mirrors the previous Local-Authority source exactly:
|
# The Asian split:
|
||||||
# * "Other Asian" routes to East/SE Asian (not South Asian). The ONS "Other
|
# * "Chinese" routes to East Asian.
|
||||||
# Asian" bucket is predominantly East/Southeast Asian (Filipino, Vietnamese,
|
# * "Other Asian" routes to SE Asian (not South Asian). The ONS "Other Asian"
|
||||||
# Thai, Japanese, Korean, ...) rather than South Asian, so routing it here
|
# bucket is predominantly East/Southeast Asian (Filipino, Vietnamese, Thai,
|
||||||
# avoids inflating "% South Asian". The split is approximate (the bucket also
|
# Japanese, Korean, ...) rather than South Asian, so routing it here avoids
|
||||||
# holds some South Asian groups such as Sri Lankan/Nepalese).
|
# inflating "% South Asian". The split is approximate (the bucket also holds
|
||||||
|
# some South Asian groups such as Sri Lankan/Nepalese).
|
||||||
GROUP_MAP = {
|
GROUP_MAP = {
|
||||||
# White
|
# White
|
||||||
"White: English, Welsh, Scottish, Northern Irish or British": "White",
|
"White: English, Welsh, Scottish, Northern Irish or British": "White",
|
||||||
|
|
@ -57,7 +58,7 @@ GROUP_MAP = {
|
||||||
"Asian, Asian British or Asian Welsh: Bangladeshi": "South Asian",
|
"Asian, Asian British or Asian Welsh: Bangladeshi": "South Asian",
|
||||||
# East / Southeast Asian
|
# East / Southeast Asian
|
||||||
"Asian, Asian British or Asian Welsh: Chinese": "East Asian",
|
"Asian, Asian British or Asian Welsh: Chinese": "East Asian",
|
||||||
"Asian, Asian British or Asian Welsh: Other Asian": "South East Asian",
|
"Asian, Asian British or Asian Welsh: Other Asian": "SE Asian",
|
||||||
# Black
|
# Black
|
||||||
"Black, Black British, Black Welsh, Caribbean or African: African": "Black",
|
"Black, Black British, Black Welsh, Caribbean or African: African": "Black",
|
||||||
"Black, Black British, Black Welsh, Caribbean or African: Caribbean": "Black",
|
"Black, Black British, Black Welsh, Caribbean or African: Caribbean": "Black",
|
||||||
|
|
@ -72,16 +73,16 @@ GROUP_MAP = {
|
||||||
"Other ethnic group: Any other ethnic group": "Other",
|
"Other ethnic group: Any other ethnic group": "Other",
|
||||||
}
|
}
|
||||||
|
|
||||||
# The 6 output groups, in a fixed order so the largest-remainder rounding below
|
# The 7 output groups, in a fixed order so the largest-remainder rounding below
|
||||||
# is deterministic regardless of pivot column ordering.
|
# is deterministic regardless of pivot column ordering.
|
||||||
OUTPUT_GROUPS = ["White", "South Asian", "East/SE Asian", "Black", "Mixed", "Other"]
|
OUTPUT_GROUPS = ["White", "South Asian", "East Asian", "SE Asian", "Black", "Mixed", "Other"]
|
||||||
assert set(GROUP_MAP.values()) == set(OUTPUT_GROUPS), (
|
assert set(GROUP_MAP.values()) == set(OUTPUT_GROUPS), (
|
||||||
"GROUP_MAP values must be exactly the OUTPUT_GROUPS"
|
"GROUP_MAP values must be exactly the OUTPUT_GROUPS"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def _ethnicity_percentages(df: pl.DataFrame) -> pl.DataFrame:
|
def _ethnicity_percentages(df: pl.DataFrame) -> pl.DataFrame:
|
||||||
"""Fold the 19 NOMIS leaf categories into 6-bucket percentages per LSOA.
|
"""Fold the 19 NOMIS leaf categories into 7-bucket percentages per LSOA.
|
||||||
|
|
||||||
`df` is the long-format NOMIS download with columns GEOGRAPHY_CODE,
|
`df` is the long-format NOMIS download with columns GEOGRAPHY_CODE,
|
||||||
C2021_ETH_20_NAME (the detailed leaf label) and OBS_VALUE (a count). A
|
C2021_ETH_20_NAME (the detailed leaf label) and OBS_VALUE (a count). A
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ def _long_rows(geo: str, counts: dict[str, int]) -> list[dict]:
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def test_ethnicity_percentages_keyed_by_lsoa_with_six_buckets():
|
def test_ethnicity_percentages_keyed_by_lsoa_with_seven_buckets():
|
||||||
df = pl.DataFrame(
|
df = pl.DataFrame(
|
||||||
_long_rows(
|
_long_rows(
|
||||||
"E01000001",
|
"E01000001",
|
||||||
|
|
@ -46,9 +46,9 @@ def test_ethnicity_percentages_keyed_by_lsoa_with_six_buckets():
|
||||||
assert round(sum(row[f"% {g}"] for g in OUTPUT_GROUPS), 1) == 100.0
|
assert round(sum(row[f"% {g}"] for g in OUTPUT_GROUPS), 1) == 100.0
|
||||||
|
|
||||||
|
|
||||||
def test_ethnicity_routes_other_asian_to_east_se_asian():
|
def test_ethnicity_routes_chinese_to_east_and_other_asian_to_se():
|
||||||
"""'Other Asian' and 'Chinese' both fold into '% East/SE Asian' (not
|
"""'Chinese' folds into '% East Asian' and 'Other Asian' into '% SE Asian'
|
||||||
'% South Asian'), preserving the East/SE Asian split from the LAD source."""
|
(neither into '% South Asian'), keeping the two Asian buckets distinct."""
|
||||||
df = pl.DataFrame(
|
df = pl.DataFrame(
|
||||||
_long_rows(
|
_long_rows(
|
||||||
"E01000002",
|
"E01000002",
|
||||||
|
|
@ -63,10 +63,11 @@ def test_ethnicity_routes_other_asian_to_east_se_asian():
|
||||||
result = _ethnicity_percentages(df)
|
result = _ethnicity_percentages(df)
|
||||||
area = result.filter(pl.col("lsoa21") == "E01000002")
|
area = result.filter(pl.col("lsoa21") == "E01000002")
|
||||||
|
|
||||||
assert "% East/SE Asian" in result.columns
|
assert "% East Asian" in result.columns
|
||||||
assert "% East Asian" not in result.columns
|
assert "% SE Asian" in result.columns
|
||||||
assert area.select("% East/SE Asian", "% South Asian").to_dicts() == [
|
assert "% East/SE Asian" not in result.columns
|
||||||
{"% East/SE Asian": 50.0, "% South Asian": 50.0}
|
assert area.select("% East Asian", "% SE Asian", "% South Asian").to_dicts() == [
|
||||||
|
{"% East Asian": 30.0, "% SE Asian": 20.0, "% South Asian": 50.0}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -560,8 +560,9 @@ def download_national_rail_cif(raw_dir: Path) -> Path | None:
|
||||||
print(f"National Rail CIF already exists: {dest}")
|
print(f"National Rail CIF already exists: {dest}")
|
||||||
return dest
|
return dest
|
||||||
|
|
||||||
email = os.environ.get("NATIONAL_RAIL_EMAIL")
|
# Free National Rail Open Data account; env vars override the baked-in default.
|
||||||
password = os.environ.get("NATIONAL_RAIL_PASSWORD")
|
email = os.environ.get("NATIONAL_RAIL_EMAIL", "schmelczerandras@gmail.com")
|
||||||
|
password = os.environ.get("NATIONAL_RAIL_PASSWORD", "z8^b!4GhCS8kj1Vp")
|
||||||
if not email or not password:
|
if not email or not password:
|
||||||
print(
|
print(
|
||||||
"Warning: NATIONAL_RAIL_EMAIL/NATIONAL_RAIL_PASSWORD not set, skipping national rail"
|
"Warning: NATIONAL_RAIL_EMAIL/NATIONAL_RAIL_PASSWORD not set, skipping national rail"
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,8 @@ _AREA_COLUMNS = [
|
||||||
"Air Quality and Road Safety Score",
|
"Air Quality and Road Safety Score",
|
||||||
# Ethnicity
|
# Ethnicity
|
||||||
"% South Asian",
|
"% South Asian",
|
||||||
"% East/SE Asian",
|
"% East Asian",
|
||||||
|
"% SE Asian",
|
||||||
"% Black",
|
"% Black",
|
||||||
"% Mixed",
|
"% Mixed",
|
||||||
"% White",
|
"% White",
|
||||||
|
|
|
||||||
|
|
@ -832,14 +832,29 @@ pub static FEATURE_GROUPS: &[FeatureGroup] = &[
|
||||||
absolute: false,
|
absolute: false,
|
||||||
}),
|
}),
|
||||||
Feature::Numeric(FeatureConfig {
|
Feature::Numeric(FeatureConfig {
|
||||||
name: "% East/SE Asian",
|
name: "% East Asian",
|
||||||
bounds: Bounds::Fixed {
|
bounds: Bounds::Fixed {
|
||||||
min: 0.0,
|
min: 0.0,
|
||||||
max: 100.0,
|
max: 100.0,
|
||||||
},
|
},
|
||||||
step: 0.1,
|
step: 0.1,
|
||||||
description: "Percentage of population identifying as East or Southeast Asian",
|
description: "Percentage of population identifying as East Asian",
|
||||||
detail: "From the 2021 Census. Percentage of the local authority population identifying as Chinese, Vietnamese, Filipino, Thai, or any other East or Southeast Asian background.",
|
detail: "From the 2021 Census. Percentage of the local authority population identifying as Chinese.",
|
||||||
|
source: "ethnicity",
|
||||||
|
prefix: "",
|
||||||
|
suffix: "%",
|
||||||
|
raw: false,
|
||||||
|
absolute: false,
|
||||||
|
}),
|
||||||
|
Feature::Numeric(FeatureConfig {
|
||||||
|
name: "% SE Asian",
|
||||||
|
bounds: Bounds::Fixed {
|
||||||
|
min: 0.0,
|
||||||
|
max: 100.0,
|
||||||
|
},
|
||||||
|
step: 0.1,
|
||||||
|
description: "Percentage of population identifying as Southeast Asian",
|
||||||
|
detail: "From the 2021 Census. Percentage of the local authority population identifying as another (non-Chinese) East or Southeast Asian background, e.g. Vietnamese, Filipino, or Thai.",
|
||||||
source: "ethnicity",
|
source: "ethnicity",
|
||||||
prefix: "",
|
prefix: "",
|
||||||
suffix: "%",
|
suffix: "%",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue