mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-02 16:04:18 -07:00
fix: add census tract dataset card (#2130)
* fix: add census tract dataset card * Update i18n IDs
This commit is contained in:
parent
275ce14db0
commit
490f25ced6
5 changed files with 197 additions and 8 deletions
|
@ -3,33 +3,43 @@
|
||||||
exports[`rendering of indicator dataset card checks if component renders 1`] = `
|
exports[`rendering of indicator dataset card checks if component renders 1`] = `
|
||||||
<DocumentFragment>
|
<DocumentFragment>
|
||||||
<div
|
<div
|
||||||
id="low-income"
|
id="census-tract-info"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class=""
|
class=""
|
||||||
>
|
>
|
||||||
<h3>
|
<h3>
|
||||||
Low income
|
Census tract information and demographics
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
Percent of a census tract's population in households where household income is at or below
|
Used to identify and locate each tract in a state and county. The demographic information, race/ethnicity and age, are included to better characterize the people living in the tract.
|
||||||
200% of the Federal poverty level, not including students enrolled in higher education.
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
|
||||||
|
<strong>
|
||||||
|
Note:
|
||||||
|
</strong>
|
||||||
|
The demographics are included as information only and are not considered as a part of the tool's methodology.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<span>
|
<span>
|
||||||
Used in:
|
Used in:
|
||||||
</span>
|
</span>
|
||||||
All categories except for the workforce development category
|
All categories
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<span>
|
<span>
|
||||||
Responsible Party:
|
Responsible Party:
|
||||||
</span>
|
</span>
|
||||||
U.S. Census
|
Census
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<span>
|
<span>
|
||||||
|
@ -50,7 +60,7 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
|
||||||
<span>
|
<span>
|
||||||
Available for:
|
Available for:
|
||||||
</span>
|
</span>
|
||||||
All U.S. states, the District of Columbia, and Puerto Rico
|
All U.S. states, the District of Columbia, and U.S. territories
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -73,6 +73,68 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
data-testid="grid"
|
data-testid="grid"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
|
<div
|
||||||
|
id="census-tract-info"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class=""
|
||||||
|
>
|
||||||
|
<h3>
|
||||||
|
Census tract information and demographics
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
Used to identify and locate each tract in a state and county. The demographic information, race/ethnicity and age, are included to better characterize the people living in the tract.
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
|
||||||
|
<strong>
|
||||||
|
Note:
|
||||||
|
</strong>
|
||||||
|
The demographics are included as information only and are not considered as a part of the tool's methodology.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Used in:
|
||||||
|
</span>
|
||||||
|
All categories
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Responsible Party:
|
||||||
|
</span>
|
||||||
|
Census
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Source:
|
||||||
|
</span>
|
||||||
|
<a
|
||||||
|
class="usa-link usa-link--external"
|
||||||
|
data-cy=""
|
||||||
|
href="https://www.census.gov/programs-surveys/acs"
|
||||||
|
rel="noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
American Community Survey
|
||||||
|
</a>
|
||||||
|
from 2015-2019
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Available for:
|
||||||
|
</span>
|
||||||
|
All U.S. states, the District of Columbia, and U.S. territories
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
id="low-income"
|
id="low-income"
|
||||||
>
|
>
|
||||||
|
|
|
@ -487,6 +487,11 @@ export const RESPONSIBLE_PARTIES = {
|
||||||
defaultMessage={'Centers for Disease Control and Prevention (CDC)'}
|
defaultMessage={'Centers for Disease Control and Prevention (CDC)'}
|
||||||
description={'responsible party text'}
|
description={'responsible party text'}
|
||||||
/>,
|
/>,
|
||||||
|
CEN: <FormattedMessage
|
||||||
|
id={'methodology.page.cat.res.part.CENSUS'}
|
||||||
|
defaultMessage={'Census'}
|
||||||
|
description={'responsible party text'}
|
||||||
|
/>,
|
||||||
CENSUS: <FormattedMessage
|
CENSUS: <FormattedMessage
|
||||||
id={'methodology.page.cat.res.part.CENSUS'}
|
id={'methodology.page.cat.res.part.CENSUS'}
|
||||||
defaultMessage={'U.S. Census'}
|
defaultMessage={'U.S. Census'}
|
||||||
|
@ -768,6 +773,11 @@ export const AVAILABLE_FOR = defineMessages({
|
||||||
defaultMessage: `All U.S. states and the District of Columbia`,
|
defaultMessage: `All U.S. states and the District of Columbia`,
|
||||||
description: 'Methodology page dataset card available for US and DC type',
|
description: 'Methodology page dataset card available for US and DC type',
|
||||||
},
|
},
|
||||||
|
ALL_US_DC_TERR: {
|
||||||
|
id: 'methodology.page.dataset.card.availableFor.US_DC',
|
||||||
|
defaultMessage: `All U.S. states, the District of Columbia, and U.S. territories`,
|
||||||
|
description: 'Methodology page dataset card available for US and DC type',
|
||||||
|
},
|
||||||
ALL_US_DC_PR: {
|
ALL_US_DC_PR: {
|
||||||
id: 'methodology.page.dataset.card.availableFor.US_DC_PR',
|
id: 'methodology.page.dataset.card.availableFor.US_DC_PR',
|
||||||
defaultMessage: `All U.S. states, the District of Columbia, and Puerto Rico`,
|
defaultMessage: `All U.S. states, the District of Columbia, and Puerto Rico`,
|
||||||
|
@ -821,6 +831,39 @@ export interface IIndicators {
|
||||||
|
|
||||||
export const INDICATORS = [
|
export const INDICATORS = [
|
||||||
// All categories:
|
// All categories:
|
||||||
|
{
|
||||||
|
domID: 'census-tract-info',
|
||||||
|
indicator: <FormattedMessage
|
||||||
|
id={'methodology.page.dataset.indicator.census.tract.title.text'}
|
||||||
|
defaultMessage={`Census tract information and demographics`}
|
||||||
|
description={'Navigate to the Methodology page. This is the title text for the census tract dataset'}
|
||||||
|
/>,
|
||||||
|
description: <FormattedMessage
|
||||||
|
id={'methodology.page.category.census.tract.description.text'}
|
||||||
|
defaultMessage={`
|
||||||
|
Used to identify and locate each tract in a state and county. The demographic information, race/ethnicity and age, are included to better characterize the people living in the tract.
|
||||||
|
`}
|
||||||
|
description={'Navigate to the Methodology page. This is the description text for low income'}
|
||||||
|
/>,
|
||||||
|
note: <FormattedMessage
|
||||||
|
id={'methodology.page.category.census.tract.note.text'}
|
||||||
|
defaultMessage={`
|
||||||
|
<boldtag>Note: </boldtag>The demographics are included as information only and are not considered as a part of the tool's methodology.
|
||||||
|
`}
|
||||||
|
description={'Navigate to the Methodology page. This is the note text for low life expectancy'}
|
||||||
|
values={{
|
||||||
|
boldtag: boldFn,
|
||||||
|
}}
|
||||||
|
/>,
|
||||||
|
usedIn: CATEGORIES.ALL,
|
||||||
|
responsibleParty: RESPONSIBLE_PARTIES.CEN,
|
||||||
|
sources: [
|
||||||
|
{
|
||||||
|
source: SOURCE_LINKS.CENSUS_ACS_15_19,
|
||||||
|
availableFor: AVAILABLE_FOR.ALL_US_DC_TERR,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
domID: 'low-income',
|
domID: 'low-income',
|
||||||
indicator: <FormattedMessage
|
indicator: <FormattedMessage
|
||||||
|
|
|
@ -1935,6 +1935,14 @@
|
||||||
"defaultMessage": "Communities are <boldtag>identified as disadvantaged</boldtag> if they are in census tracts that:",
|
"defaultMessage": "Communities are <boldtag>identified as disadvantaged</boldtag> if they are in census tracts that:",
|
||||||
"description": "Navigate to the methodology page. Navigate to the category section. This is category heading"
|
"description": "Navigate to the methodology page. Navigate to the category section. This is category heading"
|
||||||
},
|
},
|
||||||
|
"methodology.page.category.census.tract.description.text": {
|
||||||
|
"defaultMessage": "Used to identify and locate each tract in a state and county. The demographic information, race/ethnicity and age, are included to better characterize the people living in the tract.",
|
||||||
|
"description": "Navigate to the Methodology page. This is the description text for low income"
|
||||||
|
},
|
||||||
|
"methodology.page.category.census.tract.note.text": {
|
||||||
|
"defaultMessage": "<boldtag>Note: </boldtag>The demographics are included as information only and are not considered as a part of the tool's methodology.",
|
||||||
|
"description": "Navigate to the Methodology page. This is the note text for low life expectancy"
|
||||||
|
},
|
||||||
"methodology.page.category.diabetes.description.text": {
|
"methodology.page.category.diabetes.description.text": {
|
||||||
"defaultMessage": "Share of people ages 18 years and older who have been told by a health professional that they have diabetes other than diabetes during pregnancy.",
|
"defaultMessage": "Share of people ages 18 years and older who have been told by a health professional that they have diabetes other than diabetes during pregnancy.",
|
||||||
"description": "Navigate to the Methodology page. This is the description text for diabetes"
|
"description": "Navigate to the Methodology page. This is the description text for diabetes"
|
||||||
|
@ -2200,7 +2208,7 @@
|
||||||
"description": "Methodology page dataset card available for METRO_US_HOLC"
|
"description": "Methodology page dataset card available for METRO_US_HOLC"
|
||||||
},
|
},
|
||||||
"methodology.page.dataset.card.availableFor.US_DC": {
|
"methodology.page.dataset.card.availableFor.US_DC": {
|
||||||
"defaultMessage": "All U.S. states and the District of Columbia",
|
"defaultMessage": "All U.S. states, the District of Columbia, and U.S. territories",
|
||||||
"description": "Methodology page dataset card available for US and DC type"
|
"description": "Methodology page dataset card available for US and DC type"
|
||||||
},
|
},
|
||||||
"methodology.page.dataset.card.availableFor.US_DC_PR": {
|
"methodology.page.dataset.card.availableFor.US_DC_PR": {
|
||||||
|
@ -2211,6 +2219,10 @@
|
||||||
"defaultMessage": "Asthma",
|
"defaultMessage": "Asthma",
|
||||||
"description": "Navigate to the Methodology page. This is the title text for the asthma dataset"
|
"description": "Navigate to the Methodology page. This is the title text for the asthma dataset"
|
||||||
},
|
},
|
||||||
|
"methodology.page.dataset.indicator.census.tract.title.text": {
|
||||||
|
"defaultMessage": "Census tract information and demographics",
|
||||||
|
"description": "Navigate to the Methodology page. This is the title text for the census tract dataset"
|
||||||
|
},
|
||||||
"methodology.page.dataset.indicator.diabetes.title.text": {
|
"methodology.page.dataset.indicator.diabetes.title.text": {
|
||||||
"defaultMessage": "Diabetes",
|
"defaultMessage": "Diabetes",
|
||||||
"description": "Navigate to the Methodology page. This is the title text for the diabetes dataset"
|
"description": "Navigate to the Methodology page. This is the title text for the diabetes dataset"
|
||||||
|
|
|
@ -1086,6 +1086,68 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
data-testid="grid"
|
data-testid="grid"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
|
<div
|
||||||
|
id="census-tract-info"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class=""
|
||||||
|
>
|
||||||
|
<h3>
|
||||||
|
Census tract information and demographics
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
Used to identify and locate each tract in a state and county. The demographic information, race/ethnicity and age, are included to better characterize the people living in the tract.
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
|
||||||
|
<strong>
|
||||||
|
Note:
|
||||||
|
</strong>
|
||||||
|
The demographics are included as information only and are not considered as a part of the tool's methodology.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Used in:
|
||||||
|
</span>
|
||||||
|
All categories
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Responsible Party:
|
||||||
|
</span>
|
||||||
|
Census
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Source:
|
||||||
|
</span>
|
||||||
|
<a
|
||||||
|
class="usa-link usa-link--external"
|
||||||
|
data-cy=""
|
||||||
|
href="https://www.census.gov/programs-surveys/acs"
|
||||||
|
rel="noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
American Community Survey
|
||||||
|
</a>
|
||||||
|
from 2015-2019
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span>
|
||||||
|
Available for:
|
||||||
|
</span>
|
||||||
|
All U.S. states, the District of Columbia, and U.S. territories
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
id="low-income"
|
id="low-income"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue