mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-29 17:41:17 -07:00
* Add new BetaBanner and remove legacy Alerts - add BetaBanner component and test - update AboutCard test - remove AlertWrapper component, copy and tests - remove AlertWrapper from all pages - add BetaBanner copy and intl - update logo and color - add styles using USWDS tokens to globals.scss * Add Beta pill to header - refactor Header to use Grid and USWDS - refactor global.scss to use Grid and USWDS - updates snapshots * Move styles from global to modules - move BetaBanner styles from global to modules - move J40Header to a folder component and module styles - add J40Header unit test - add a design-system.scss file that allows USWDS styles in modules - updates snapshots * Update en.json file * Trigger Build * Add initial Spanish content - add README for translation team - add createSpanishJson script - add initial version of es.json - add a spanish string variable to test translation * Add retry and timeout config to stalled test * Remove redundant test cases for AboutCard - update snapshot * Update BetaBanner description
613 lines
16 KiB
Text
613 lines
16 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
||
exports[`rendering of the DatasetContainer checks if various text fields are visible 1`] = `
|
||
<DocumentFragment>
|
||
<div
|
||
class="j40-main-grid-blue-bk "
|
||
>
|
||
<div
|
||
class="grid-container-desktop-lg"
|
||
data-cy="datasets-used-in-methodology-block"
|
||
data-testid="gridContainer"
|
||
>
|
||
<div
|
||
class="grid-row"
|
||
data-testid="grid"
|
||
>
|
||
<div
|
||
class="grid-col-12"
|
||
data-testid="grid"
|
||
>
|
||
<h2>
|
||
Datasets used in methodology
|
||
</h2>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="grid-row"
|
||
data-testid="grid"
|
||
>
|
||
<div
|
||
class="grid-col-12 tablet:grid-col-7 j40-mb-3"
|
||
data-testid="grid"
|
||
>
|
||
<p>
|
||
The datasets come from a variety of sources and were selected based on relevance, availability, recency, and quality. The datasets seek to identify a range of human health, environmental, climate-related, and other cumulative impacts on communities.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div>
|
||
<h3>
|
||
Area Median Income
|
||
</h3>
|
||
<div>
|
||
Median income of the census block group calculated as a percent
|
||
of the metropolitan area’s or state's median income.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.census.gov/programs-surveys/acs"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Census's American Community Survey
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2015-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Poverty
|
||
</h3>
|
||
<div>
|
||
Percent of a block group's population in households where the household income is at or below 100% of the federal poverty level.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.census.gov/programs-surveys/acs"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Census's American Community Survey
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2015-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Education, less than high school education
|
||
</h3>
|
||
<div>
|
||
Percent of people ages 25 years or older in a block group whose
|
||
education level is less than a high school diploma.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.census.gov/programs-surveys/acs"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Census's American Community Survey
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2015-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class=""
|
||
>
|
||
<div
|
||
class="grid-container-desktop-lg"
|
||
data-cy="additional-indicators-block"
|
||
data-testid="gridContainer"
|
||
>
|
||
<div
|
||
class="grid-row"
|
||
data-testid="grid"
|
||
>
|
||
<div
|
||
class="grid-col-12"
|
||
data-testid="grid"
|
||
>
|
||
<h2>
|
||
Additional Indicators
|
||
</h2>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="grid-row"
|
||
data-testid="grid"
|
||
>
|
||
<div
|
||
class="grid-col-12 tablet:grid-col-7 j40-mb-3"
|
||
data-testid="grid"
|
||
>
|
||
<p>
|
||
These datasets provide additional information about each community.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div>
|
||
<h3>
|
||
Diabetes
|
||
</h3>
|
||
<div>
|
||
People ages 18 years and older who report having ever been
|
||
told by a doctor, nurse, or other health professionals that they have
|
||
diabetes other than diabetes during pregnancy.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.cdc.gov/places/index.html"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Centers for Disease Control and Prevention (CDC) PLACES
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census tract
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2016-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Asthma
|
||
</h3>
|
||
<div>
|
||
Weighted number of respondents people who answer “yes” both
|
||
to both of the following questions: “Have you ever been told by a doctor,
|
||
nurse, or other health professional that you have asthma?” and the question
|
||
“Do you still have asthma?”
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.cdc.gov/places/index.html"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Centers for Disease Control and Prevention (CDC) PLACES
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census tract
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2016-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Heart disease
|
||
</h3>
|
||
<div>
|
||
People ages 18 years and older who report ever having been told
|
||
by a doctor, nurse, or other health professionals that they had angina or
|
||
coronary heart disease.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.cdc.gov/places/index.html"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Centers for Disease Control and Prevention (CDC) PLACES
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census tract
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2016-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Life expectancy
|
||
</h3>
|
||
<div>
|
||
Estimated years of life expectancy.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.cdc.gov/nchs/nvss/usaleep/usaleep.html#data"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Centers for Disease Control and Prevention (CDC)
|
||
US Small-area Life Expectancy Estimates Project
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census tract
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2010-2015
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Traffic proximity and volume
|
||
</h3>
|
||
<div>
|
||
Count of vehicles (average annual daily traffic) at major roads
|
||
within 500 meters, divided by distance in meters (not km).
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Department of Transportation (DOT) traffic data as compiled by EPA's EJSCREEN
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2017
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
FEMA Risk Index Expected Annual Loss Score
|
||
</h3>
|
||
<div>
|
||
Average economic loss in dollars resulting from natural
|
||
hazards each year. It is calculated for each hazard type and quantifies
|
||
loss for relevant consequence types: buildings, people, and agriculture.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://hazards.fema.gov/nri/expected-annual-loss"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Federal Emergency Management Agency (FEMA)
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census tract
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2014-2017
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Energy burden
|
||
</h3>
|
||
<div>
|
||
Average annual energy cost ($) divided by household income.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.energy.gov/eere/slsc/low-income-energy-affordability-data-lead-tool"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Department of Energy (DOE) LEAD Score
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census tract
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2018
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Housing cost burden
|
||
</h3>
|
||
<div>
|
||
Households that are low income and spend more than 30% of their
|
||
income to housing costs.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.huduser.gov/portal/datasets/cp.html"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Department of Housing & Urban Development’s
|
||
(HUD) Comprehensive Housing Affordability Strategy dataset
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census tract
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2013-2017
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Wastewater discharge
|
||
</h3>
|
||
<div>
|
||
RSEI modeled Toxic Concentrations at stream segments within 500
|
||
meters, divided by distance in kilometers (km).
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Environmental Protection Agency (EPA) Risk-Screening
|
||
Environmental Indicators (RSEI) Model as compiled by EPA's EJSCREEN
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2020
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Lead paint
|
||
</h3>
|
||
<div>
|
||
Percent of housing units built pre-1960, used as an
|
||
indicator of potential lead paint exposure in homes.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.census.gov/programs-surveys/acs"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Census's American Community Survey
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2015-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
Diesel particulate matter
|
||
</h3>
|
||
<div>
|
||
Mixture of particles that is part of diesel exhaust in the air.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Environmental Protection Agency (EPA) National Air Toxics Assessment (NATA)
|
||
as compiled by EPA's EJSCREEN
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
5-year estimates, 2015-2019
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div>
|
||
<h3>
|
||
PM2.5
|
||
</h3>
|
||
<div>
|
||
Fine inhalable particles, with diameters that are generally
|
||
2.5 micrometers and smaller.
|
||
</div>
|
||
<ul>
|
||
<li>
|
||
<span>
|
||
Data source:
|
||
</span>
|
||
<a
|
||
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
|
||
rel="noreferrer"
|
||
target="_blank"
|
||
>
|
||
Environmental Protection Agency (EPA) Office of Air
|
||
and Radiation (OAR) fusion of model and monitor data as compiled by EPA's EJSCREEN
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data resolution:
|
||
</span>
|
||
Census block group
|
||
</li>
|
||
<li>
|
||
<span>
|
||
Data date range:
|
||
</span>
|
||
2017
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</DocumentFragment>
|
||
`;
|