-
- {/* Category Indicators */}
- {category.indicators.map((indicator:any, index:number) => {
- return ;
- })}
- >
- ),
- expanded: false,
- }));
-
- return (
-
- );
-};
+import AreaDetail from './AreaDetail';
export default AreaDetail;
diff --git a/client/src/components/AreaDetail/tests/__snapshots__/areaDetail.test.tsx.snap b/client/src/components/AreaDetail/tests/__snapshots__/areaDetail.test.tsx.snap
index bc51b14e..10f2b159 100644
--- a/client/src/components/AreaDetail/tests/__snapshots__/areaDetail.test.tsx.snap
+++ b/client/src/components/AreaDetail/tests/__snapshots__/areaDetail.test.tsx.snap
@@ -174,7 +174,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Low income
- Household income is less than or equal to twice the federal poverty level
+
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+
@@ -265,7 +268,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Low income
- Household income is less than or equal to twice the federal poverty level
+
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+
@@ -356,7 +362,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Low income
- Household income is less than or equal to twice the federal poverty level
+
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+
@@ -431,7 +440,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Lead paint
- Percent of pre-1960 housing with a median home value is at or below 90th
+
+ Percent of pre-1960 housing when median home value is at or below 90th percentile in order to
+ exclude areas with high value, older homes
+
@@ -449,7 +461,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Low income
- Household income is less than or equal to twice the federal poverty level
+
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+
@@ -558,7 +573,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Low income
- Household income is less than or equal to twice the federal poverty level
+
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+
@@ -631,7 +649,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Low income
- Household income is less than or equal to twice the federal poverty level
+
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+
@@ -763,7 +784,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Low income
- Household income is less than or equal to twice the federal poverty level
+
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+
@@ -837,7 +861,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
Linguistic isolation
- Percent of limited speaking households, which are households where no one over age 14 speaks English well
+ Percent of households where no one over the age 14 speaks English well
@@ -902,8 +926,8 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
High school degree achievement rate
- Percent (not a percentile) of people ages 25 years or older whose education level is less than a
- high school diploma
+ Percent of people ages 25 years or older whose education level is less than a high school diploma
+ when higher ed enrollment rate is less than 20% in order to exclude areas with college and graduate students
diff --git a/client/src/components/Categories/__snapshots__/Categories.test.tsx.snap b/client/src/components/Categories/__snapshots__/Categories.test.tsx.snap
index 167f5aa7..2ea601ba 100644
--- a/client/src/components/Categories/__snapshots__/Categories.test.tsx.snap
+++ b/client/src/components/Categories/__snapshots__/Categories.test.tsx.snap
@@ -30,6 +30,15 @@ exports[`rendering of the Categories checks if component renders 1`] = `
+ Communities are
+
+ identified as disadvantaged
+
+ in this category
+
+
+
+
IF
@@ -56,20 +65,27 @@ exports[`rendering of the Categories checks if component renders 1`] = `
-
- THEN
-
- the community is disadvantaged.
+ rates for adults 25 years and older is at or less than
+ 90% WHEN
+
+ higher ed enrollment rate
+
+ is at or below 20%
+
+
diff --git a/client/src/components/CategoryCard/CategoryCard.module.scss b/client/src/components/CategoryCard/CategoryCard.module.scss
index 5b621474..e93035d8 100644
--- a/client/src/components/CategoryCard/CategoryCard.module.scss
+++ b/client/src/components/CategoryCard/CategoryCard.module.scss
@@ -13,3 +13,7 @@
@include baseCard;
@include u-bg('blue-cool-5');
}
+
+.idAsDisdvantaged {
+ font-style: italic;
+}
\ No newline at end of file
diff --git a/client/src/components/CategoryCard/CategoryCard.module.scss.d.ts b/client/src/components/CategoryCard/CategoryCard.module.scss.d.ts
index 65f44f6c..841fbc9d 100644
--- a/client/src/components/CategoryCard/CategoryCard.module.scss.d.ts
+++ b/client/src/components/CategoryCard/CategoryCard.module.scss.d.ts
@@ -1,6 +1,7 @@
declare namespace IndicatorCategoryNamespace {
export interface IIndicatorCategoryScss {
categoryCard: string;
+ idAsDisdvantaged: string;
}
}
diff --git a/client/src/components/CategoryCard/CategoryCard.tsx b/client/src/components/CategoryCard/CategoryCard.tsx
index aca2ebf6..dbbbc5ec 100644
--- a/client/src/components/CategoryCard/CategoryCard.tsx
+++ b/client/src/components/CategoryCard/CategoryCard.tsx
@@ -1,7 +1,7 @@
import React from 'react';
+import * as METHODOLOGY_COPY from '../../data/copy/methodology';
import * as styles from './CategoryCard.module.scss';
-
interface ICategoryInterface {
categoryInfo: {
TITLE: JSX.Element,
@@ -16,6 +16,9 @@ const CategoryCard = ({categoryInfo}: ICategoryInterface) => {
{categoryInfo.TITLE}
+
+ {METHODOLOGY_COPY.CATEGORY.ID_AS_DISADV_TEXT}
+
{categoryInfo.IF}
diff --git a/client/src/components/CategoryCard/__snapshots__/CategoryCard.test.tsx.snap b/client/src/components/CategoryCard/__snapshots__/CategoryCard.test.tsx.snap
index dba3718a..b56387b0 100644
--- a/client/src/components/CategoryCard/__snapshots__/CategoryCard.test.tsx.snap
+++ b/client/src/components/CategoryCard/__snapshots__/CategoryCard.test.tsx.snap
@@ -8,6 +8,15 @@ exports[`rendering of the CategoryCard checks if component renders 1`] = `
+ Communities are
+
+ identified as disadvantaged
+
+ in this category
+
+
+
+
IF
@@ -34,20 +43,27 @@ exports[`rendering of the CategoryCard checks if component renders 1`] = `
`;
diff --git a/client/src/components/DatasetCard/tests/__snapshots__/datasetCard.test.tsx.snap b/client/src/components/DatasetCard/tests/__snapshots__/datasetCard.test.tsx.snap
index 739e5c1d..86a7776f 100644
--- a/client/src/components/DatasetCard/tests/__snapshots__/datasetCard.test.tsx.snap
+++ b/client/src/components/DatasetCard/tests/__snapshots__/datasetCard.test.tsx.snap
@@ -19,7 +19,7 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
Used in:
- All methodologies except for training and workforce development
+ All categories except for training and workforce development
diff --git a/client/src/components/DatasetContainer/tests/__snapshots__/datasetContainer.test.tsx.snap b/client/src/components/DatasetContainer/tests/__snapshots__/datasetContainer.test.tsx.snap
index e0ad1bc0..e4fa48fe 100644
--- a/client/src/components/DatasetContainer/tests/__snapshots__/datasetContainer.test.tsx.snap
+++ b/client/src/components/DatasetContainer/tests/__snapshots__/datasetContainer.test.tsx.snap
@@ -49,7 +49,54 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Used in:
- All methodologies except for training and workforce development
+ All categories except for training and workforce development
+
+ */}
);
};
diff --git a/client/src/components/MethodologyFormula/__snapshots__/MethodologyFormula.test.tsx.snap b/client/src/components/MethodologyFormula/__snapshots__/MethodologyFormula.test.tsx.snap
index 17b1f85f..1098ec80 100644
--- a/client/src/components/MethodologyFormula/__snapshots__/MethodologyFormula.test.tsx.snap
+++ b/client/src/components/MethodologyFormula/__snapshots__/MethodologyFormula.test.tsx.snap
@@ -5,26 +5,30 @@ exports[`rendering of the MethodologyFormula checks if component renders 1`] = `
- Under the current formula, a census tract will be considered disadvantaged:
+ Under the current formula, a census tract will be
+
+ identified as disadvantaged
+
+ in one or more categories of criteria:
+
+
IF
- it is above the threshold for one or more climate or environmental indicator
+ the tract is above the thresholds for a set of environmental, climate or socioeconomic related indicators
+
+
+
AND
- it is above the threshold for one or more socioeconomic indicator
-
-
-
- THEN
-
- the community is considered disadvantaged.
+ the tract is above the thresholds for another set of income or education related indicators
+
diff --git a/client/src/data/copy/explore.tsx b/client/src/data/copy/explore.tsx
index 3282e3fb..bb7177a8 100644
--- a/client/src/data/copy/explore.tsx
+++ b/client/src/data/copy/explore.tsx
@@ -452,7 +452,10 @@ export const SIDE_PANEL_INDICATOR_DESCRIPTION = defineMessages({
},
LOW_INCOME: {
id: 'areaDetail.indicator.description.low.income',
- defaultMessage: 'Household income is less than or equal to twice the federal poverty level',
+ defaultMessage: `
+ Household income is less than or equal to twice the federal poverty level when higher ed enrollment
+ rate is less than 20% in order to exclude areas with college and graduate students
+ `,
description: 'Household income is less than or equal to twice the federal poverty level',
},
@@ -480,7 +483,10 @@ export const SIDE_PANEL_INDICATOR_DESCRIPTION = defineMessages({
LEAD_PAINT: {
id: 'areaDetail.indicator.description.leadPaint',
- defaultMessage: 'Percent of pre-1960 housing with a median home value is at or below 90th',
+ defaultMessage: `
+ Percent of pre-1960 housing when median home value is at or below 90th percentile in order to
+ exclude areas with high value, older homes
+ `,
description: 'Pre-1960 housing',
},
MED_HOME_VAL: {
@@ -551,7 +557,7 @@ export const SIDE_PANEL_INDICATOR_DESCRIPTION = defineMessages({
LING_ISO: {
id: 'areaDetail.indicator.description.ling.iso',
defaultMessage: `
- Percent of limited speaking households, which are households where no one over age 14 speaks English well
+ Percent of households where no one over the age 14 speaks English well
`,
description: `Households in which no one age 14 and over speaks English only or also speaks
a language other than English`,
@@ -573,8 +579,8 @@ export const SIDE_PANEL_INDICATOR_DESCRIPTION = defineMessages({
HIGH_SKL: {
id: 'areaDetail.indicator.description.high.school',
defaultMessage: `
- Percent (not a percentile) of people ages 25 years or older whose education level is less than a
- high school diploma
+ Percent of people ages 25 years or older whose education level is less than a high school diploma
+ when higher ed enrollment rate is less than 20% in order to exclude areas with college and graduate students
`,
description: 'Percent of people ages 25 years or older whose education level is less than a high school diploma',
},
diff --git a/client/src/data/copy/methodology.tsx b/client/src/data/copy/methodology.tsx
index f3b15ba0..4819d7cc 100644
--- a/client/src/data/copy/methodology.tsx
+++ b/client/src/data/copy/methodology.tsx
@@ -26,13 +26,6 @@ export const PAGE = defineMessages({
`,
description: 'methodology page paragraph',
},
- FORMULA_INTRO: {
- id: 'methodology.page.formula.intro',
- defaultMessage: `
- Under the current formula, a census tract will be considered disadvantaged:
- `,
- description: 'methodology page introducing the formula',
- },
CATEGORY_TEXT: {
id: 'methodology.page.categories.title',
defaultMessage: `
@@ -46,9 +39,21 @@ export const PAGE = defineMessages({
export const FORMULA = {
+ INTRO: identified as disadvantaged,
+ }}
+ />,
IF: IF,
@@ -56,7 +61,9 @@ export const FORMULA = {
/>,
AND: AND,
@@ -144,19 +151,59 @@ export const CATEGORY= {
defaultMessage={'Categories'}
description= {'category heading'}
/>,
+ ID_AS_DISADV_TEXT: identified as disadvantaged,
+ }}
+ />,
};
+// Category AND Clause:
+export const CATEGORY_AND_CLAUSE = {
+ LOW_INC_65_WHEN_HIGH_ED_LTE_20: AND,
+ lowIncome: low income,
+ highEdEnrollRate: higher ed enrollment rate,
+ }}
+ />,
+ HS_DEG_90_WHEN_HIGH_ED_LTE_20: AND,
+ highSchoolRate: high school degree achievement rates,
+ highEdEnrollRate: higher ed enrollment rate,
+ }}
+ />,
+};
// Indicator Categories copy constants:
export const CATEGORIES = {
- ALL: {
- METHODOLOGY:
- ,
- },
+ ALL: ,
+ ALL_EXCEPT_WORKFORCE: ,
CLIMATE_CHANGE: {
METHODOLOGY: expected population loss rate,
}}
/>,
- AND: AND,
- asterisk: *,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.LOW_INC_65_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
CLEAN_ENERGY: {
METHODOLOGY: PM2.5 in the air,
}}
/>,
- AND: AND,
- asterisk: *,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.LOW_INC_65_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
CLEAN_TRANSPORT: {
METHODOLOGY: traffic proximity and volume,
}}
/>,
- AND: AND,
- asterisk: *,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.LOW_INC_65_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
AFFORDABLE_HOUSING: {
METHODOLOGY: housing cost burden,
}}
/>,
- AND: AND,
- asterisk: *,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.LOW_INC_65_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
LEGACY_POLLUTION: {
METHODOLOGY: proximity to RMP facilities,
}}
/>,
- AND: AND,
- asterisk: *,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.LOW_INC_65_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
CLEAN_WATER: {
METHODOLOGY: wastewater discharge,
}}
/>,
- AND: AND,
- asterisk: *,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.LOW_INC_65_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
HEALTH_BURDENS: {
METHODOLOGY: low life expectancy,
}}
/>,
- AND: AND,
- asterisk: *,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.LOW_INC_65_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
WORKFORCE_DEV: {
METHODOLOGY: poverty,
}}
/>,
- AND: AND,
- highSchool: the high school degree achievement rates,
- }}
- />,
- THEN: THEN,
- asterisk: *,
- }}
- />,
+ AND: CATEGORY_AND_CLAUSE.HS_DEG_90_WHEN_HIGH_ED_LTE_20,
+ // THEN: THEN,
+ // asterisk: *,
+ // }}
+ // />,
},
};
@@ -836,7 +817,26 @@ export const INDICATORS = [
`}
description= {'description text for low income'}
/>,
- usedIn: CATEGORIES.ALL.METHODOLOGY,
+ usedIn: CATEGORIES.ALL_EXCEPT_WORKFORCE,
+ responsibleParty: RESPONSIBLE_PARTIES.CENSUS,
+ sources: [
+ {
+ source: SOURCE_LINKS.CENSUS_ACS_15_19,
+ availableFor: AVAILABLE_FOR.ALL_US_DC,
+ },
+ ],
+ },
+ {
+ domID: 'high-ed-enroll-rate',
+ indicator: 'Higher ed enrollment rate',
+ description: ,
+ usedIn: CATEGORIES.ALL,
responsibleParty: RESPONSIBLE_PARTIES.CENSUS,
sources: [
{
diff --git a/client/src/pages/__snapshots__/methodology.test.tsx.snap b/client/src/pages/__snapshots__/methodology.test.tsx.snap
index 5d885144..debefa54 100644
--- a/client/src/pages/__snapshots__/methodology.test.tsx.snap
+++ b/client/src/pages/__snapshots__/methodology.test.tsx.snap
@@ -302,31 +302,33 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
- Under the current formula, a census tract will be considered disadvantaged:
+ Under the current formula, a census tract will be
+
+ identified as disadvantaged
+
+ in one or more categories of criteria:
+
+
IF
- it is above the threshold for one or more climate or environmental indicator
+ the tract is above the thresholds for a set of environmental, climate or socioeconomic related indicators
+
+
+
AND
- it is above the threshold for one or more socioeconomic indicator
-
-
-
- THEN
-
- the community is considered disadvantaged.
+ the tract is above the thresholds for another set of income or education related indicators
+
-
+
Communities will be defined as disadvantaged for the purposes of Justice40 if they meet
@@ -384,20 +386,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
-
-
-
- *
-
- Low Income
-
-
-
- At or above 65th percentile for percent of census tract population of households where household
- income is at or below 200% of the federal poverty level
-
-
-
@@ -429,6 +417,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
+ Communities are
+
+ identified as disadvantaged
+
+ in this category
+
+
+
+
IF
@@ -455,20 +452,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
-
- THEN
-
- the community is disadvantaged.
+ rates for adults 25 years and older is at or less than
+ 90% WHEN
+
+ higher ed enrollment rate
+
+ is at or below 20%
+
+
Used in:
- All methodologies except for training and workforce development
+ All categories except for training and workforce development
+
+