Update copy from CEQ (#1296)

* Update copy

- updates from CEQ
- meth page
- side panel pages
- low median income
- update snapshots

* QA udpates
This commit is contained in:
Vim 2022-02-17 18:50:30 -05:00 committed by GitHub
commit e48ab86b85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 291 additions and 247 deletions

View file

@ -177,6 +177,14 @@ const AreaDetail = ({properties}:IAreaDetailProps) => {
isDisadvagtaged: properties[constants.IS_FEDERAL_POVERTY_LEVEL_200] ?
properties[constants.IS_FEDERAL_POVERTY_LEVEL_200] : null,
};
// const higherEd:indicatorInfo = {
// label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.HIGH_ED),
// description: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATOR_DESCRIPTION.HIGH_ED),
// value: properties[constants.HIGHER_ED_PERCENTILE] ?
// properties[constants.HIGHER_ED_PERCENTILE] : null,
// isDisadvagtaged: properties[constants.IS_HIGHER_ED_PERCENTILE] ?
// properties[constants.IS_HIGHER_ED_PERCENTILE] : null,
// };
const energyBurden:indicatorInfo = {
label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.ENERGY_BURDEN),
@ -303,20 +311,20 @@ const AreaDetail = ({properties}:IAreaDetailProps) => {
properties[constants.IS_GTE_90_LOW_LIFE_EXP_AND_IS_LOW_INCOME] : null,
};
const lingIso:indicatorInfo = {
label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.LING_ISO),
description: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATOR_DESCRIPTION.LING_ISO),
value: properties[constants.LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE] ?
properties[constants.LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE] : null,
isDisadvagtaged: properties[constants.IS_GTE_90_LINGUISITIC_ISO_AND_IS_LOW_INCOME] ?
properties[constants.IS_GTE_90_LINGUISITIC_ISO_AND_IS_LOW_INCOME] : null,
};
const lowMedInc:indicatorInfo = {
label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.LOW_MED_INC),
description: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATOR_DESCRIPTION.LOW_MED_INCOME),
value: getWorkForceIndicatorValue('lowMedInc'),
isDisadvagtaged: getWorkForceIndicatorIsDisadv('lowMedInc'),
};
const lingIso:indicatorInfo = {
label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.LING_ISO),
description: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATOR_DESCRIPTION.LING_ISO),
value: properties[constants.LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE] ?
properties[constants.LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE] : null,
isDisadvagtaged: properties[constants.IS_GTE_90_LINGUISITIC_ISO_AND_IS_LOW_INCOME] ?
properties[constants.IS_GTE_90_LINGUISITIC_ISO_AND_IS_LOW_INCOME] : null,
};
const unemploy:indicatorInfo = {
label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.UNEMPLOY),
description: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATOR_DESCRIPTION.UNEMPLOY),
@ -391,7 +399,7 @@ const AreaDetail = ({properties}:IAreaDetailProps) => {
{
id: 'work-dev',
titleText: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_CATEGORY.WORK_DEV),
indicators: [lowMedInc, lingIso, unemploy, poverty, highSchool],
indicators: [lingIso, lowMedInc, , unemploy, poverty, highSchool],
isDisadvagtaged: properties[constants.IS_WORKFORCE_FACTOR_DISADVANTAGED_M] ?
properties[constants.IS_WORKFORCE_FACTOR_DISADVANTAGED_M] : null,
},

View file

@ -159,8 +159,8 @@ exports[`rendering of the AreaDetail checks if indicators for ISLAND AREAS are p
Poverty
<div>
Percent of a tract's population in households where the household income is at or below
100% of the federal poverty level
Percent of a tract's population in households where the household income is at or below 100% of
the Federal poverty level
</div>
</div>
@ -179,11 +179,10 @@ exports[`rendering of the AreaDetail checks if indicators for ISLAND AREAS are p
>
<div>
<div>
High school degree achievement rate
High school degree attainment rate
<div>
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
Poportion of people ages 25 years or older whose education level is less than a high school diploma
</div>
</div>
@ -356,7 +355,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Expected population loss rate
<div>
Rate relative to the population in fatalities and injuries resulting from natural hazards each year
Rate of fatalities and injuries resulting from natural hazards each year
</div>
</div>
@ -376,8 +375,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Low income
<div>
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
Household income is less than or equal to twice the federal poverty level
</div>
</div>
@ -431,7 +429,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
>
<div>
<div>
Energy cost burden
Energy burden
<div>
Average annual energy costs divided by household income
</div>
@ -470,8 +468,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Low income
<div>
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
Household income is less than or equal to twice the federal poverty level
</div>
</div>
@ -564,8 +561,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Low income
<div>
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
Household income is less than or equal to twice the federal poverty level
</div>
</div>
@ -642,7 +638,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Lead paint
<div>
Percent of pre-1960 housing when median home value at or below 90th percentile
Percentile of number of homes built before 1960 that are not among the most expensive
</div>
</div>
@ -662,8 +658,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Low income
<div>
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
Household income is less than or equal to twice the federal poverty level
</div>
</div>
@ -719,7 +714,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
<div>
Proximity to hazardous waste facilities
<div>
Count of hazardous waste facilities within 5 km
Count of hazardous waste facilities within 5 kilometers
</div>
</div>
<div>
@ -737,7 +732,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
<div>
Proximity to NPL sites
<div>
Proposed or listed NPL (Superfund) sites within 5 km
Proposed or listed NPL (Superfund) sites within 5 kilometers
</div>
</div>
<div>
@ -755,7 +750,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
<div>
Proximity to RMP facilities
<div>
Risk Management Plan facilities within 5 km
Risk Management Plan facilities within 5 kilometers
</div>
</div>
<div>
@ -774,8 +769,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Low income
<div>
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
Household income is less than or equal to twice the federal poverty level
</div>
</div>
@ -850,8 +844,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Low income
<div>
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
Household income is less than or equal to twice the federal poverty level
</div>
</div>
@ -966,7 +959,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
<div>
Low life expectancy
<div>
Average number of years of life a person can expect to live
Average number of years a person can expect to live
</div>
</div>
<div>
@ -985,8 +978,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Low income
<div>
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
Household income is less than or equal to twice the federal poverty level
</div>
</div>
@ -1035,24 +1027,6 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Percentile (0-100)
</div>
</div>
<li
data-cy="indicatorBox"
>
<div>
<div>
Low median income
<div>
Median income calculated as a percent of the areas median income
</div>
</div>
<div>
N/A
<sup>
<span />
</sup>
</div>
</div>
</li>
<li
data-cy="indicatorBox"
>
@ -1075,6 +1049,24 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
</div>
</div>
</li>
<li
data-cy="indicatorBox"
>
<div>
<div>
Low median income
<div>
Median income calculated as a percent of the areas median income
</div>
</div>
<div>
N/A
<sup>
<span />
</sup>
</div>
</div>
</li>
<li
data-cy="indicatorBox"
>
@ -1103,8 +1095,8 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Poverty
<div>
Percent of a tract's population in households where the household income is at or below
100% of the federal poverty level
Percent of a tract's population in households where the household income is at or below 100% of
the Federal poverty level
</div>
</div>
@ -1123,11 +1115,10 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
>
<div>
<div>
High school degree achievement rate
High school degree attainment rate
<div>
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
Poportion of people ages 25 years or older whose education level is less than a high school diploma
</div>
</div>
@ -1256,24 +1247,6 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
Percentile (0-100)
</div>
</div>
<li
data-cy="indicatorBox"
>
<div>
<div>
Low median income
<div>
Median income calculated as a percent of the areas median income
</div>
</div>
<div>
N/A
<sup>
<span />
</sup>
</div>
</div>
</li>
<li
data-cy="indicatorBox"
>
@ -1296,6 +1269,24 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
</div>
</div>
</li>
<li
data-cy="indicatorBox"
>
<div>
<div>
Low median income
<div>
Median income calculated as a percent of the areas median income
</div>
</div>
<div>
N/A
<sup>
<span />
</sup>
</div>
</div>
</li>
<li
data-cy="indicatorBox"
>
@ -1324,8 +1315,8 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
Poverty
<div>
Percent of a tract's population in households where the household income is at or below
100% of the federal poverty level
Percent of a tract's population in households where the household income is at or below 100% of
the Federal poverty level
</div>
</div>
@ -1344,11 +1335,10 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
>
<div>
<div>
High school degree achievement rate
High school degree attainment rate
<div>
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
Poportion of people ages 25 years or older whose education level is less than a high school diploma
</div>
</div>

View file

@ -34,7 +34,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -70,19 +70,19 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
@ -97,7 +97,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -110,9 +110,9 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<a
href="#energy-burden"
>
energy cost burden
energy burden
</a>
score OR
OR
<a
href="#pm-25"
>
@ -127,19 +127,19 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
@ -154,7 +154,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -184,19 +184,19 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
@ -211,7 +211,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -226,7 +226,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
>
lead paint
</a>
WHEN
AND
<a
href="#median-home"
>
@ -248,19 +248,19 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
@ -275,7 +275,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -311,19 +311,19 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
@ -338,7 +338,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -362,19 +362,19 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
@ -389,7 +389,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -431,19 +431,19 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
@ -458,7 +458,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -503,20 +503,20 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
where the
is at or less than 90% for
<a
href="#high-school"
>
high school degree achievement rates
high school degree attainment rate
</a>
rates for adults 25 years and older is at or less than
90% WHEN
for adults 25 years and older AND
at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />

View file

@ -12,7 +12,7 @@ exports[`rendering of the CategoryCard checks if component renders 1`] = `
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
@ -48,19 +48,19 @@ exports[`rendering of the CategoryCard checks if component renders 1`] = `
<strong>
AND
</strong>
is at or above 65th percentile for
is above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
AND at or below 20% for
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />

View file

@ -307,7 +307,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="energy-burden"
>
<h3>
Energy cost burden
Energy burden
</h3>
<div>
Average annual energy cost per household ($) divided by household average income.
@ -988,7 +988,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="life-exp"
>
<h3>
Life expectancy
Low life expectancy
</h3>
<div>
@ -999,12 +999,12 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Note:
</strong>
Unlike most of the other datasets, high values of this data indicate low burdens.
For percentile calculations of burden, the percentile is calculated in reverse order, so that the tract with
the highest median income relative to area median income (lowest burden on this measure) is at the
0th percentile, and the tract with the lowest median income relative to area median income
(highest burden on this measure) is at the 100th percentile. Tracts with the highest number
have the lowest life expectancy.
Unlike most of the other datasets, high values of this data indicate low burdens. For
percentile calculations of burden, the percentile is calculated in reverse order, so that the
tract with the highest life expectancy relative to area life expectancy (lowest burden on this
measure) is at the 0th percentile, and the tract with the lowest life expectancy relative to
area life expectancy (highest burden on this measure) is at the 100th percentile. Tracts with
the highest number have the lowest life expectancy.
</p>
@ -1050,11 +1050,26 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="low-med-inc"
>
<h3>
Median Income
Low median income
</h3>
<div>
Median income of the census tract calculated as a percent of the areas median income.
<p>
<strong>
Note:
</strong>
Unlike most of the other datasets, high values of this data indicate low burdens. For
percentile calculations of burden, the percentile is calculated in reverse order, so that the
tract with the highest median income relative to area median income (lowest burden on this
measure) is at the 0th percentile, and the tract with the lowest median income relative to
area median income (highest burden on this measure) is at the 100th percentile. Tracts with
the highest number have the lowest median income.
</p>
</div>
<ul>
@ -1302,7 +1317,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="high-school"
>
<h3>
High school degree achievement rate
High school degree attainment rate
</h3>
<div>

View file

@ -30,17 +30,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
.
</li>
<li>
Respond to our request for information on
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.federalregister.gov/"
rel="noreferrer"
target="_blank"
>
federalregister.gov
</a>
.
CEQ will publish a request for information on federalregister.gov.
</li>
</ul>
</div>

View file

@ -18,7 +18,8 @@ exports[`rendering of the MethodologyFormula checks if component renders 1`] = `
<span>
IF
</span>
the tract is above the thresholds for a set of environmental, climate or socioeconomic related indicators
the tract is above the thresholds for one or more environmental, climate, health or
socioeconomic burden indicators
</p>
<p>
@ -27,7 +28,7 @@ exports[`rendering of the MethodologyFormula checks if component renders 1`] = `
<span>
AND
</span>
the tract is above the thresholds for another set of income or education related indicators
the tract is above the thresholds for both socioeconomic indicators
</p>
</section>