Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recidivism methodology copy #253

Merged
merged 2 commits into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions public-dashboard-client/src/methodology-modal/MethodologyModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,27 @@ const CONTENTS_BY_PAGE = {
with an end to the period of incarceration, such as transfers between
facilities, are not shown here.
</MethodologyDescription>
<SectionTitle>{SECTION_TITLES[PATHS.prison].recidivism}</SectionTitle>
<MethodologyDescription>
This chart shows reincarceration recidivism rates, which is the
proportion of individuals released from a ND DOCR facility that return
to a ND DOCR facility at some point in the future. The releases are
grouped by the calendar year in which the release occurred, and the
rates are calculated as the percentage of the people released that have
returned to incarceration after each year since the release. Individuals
are included in the release cohort if they were released for serving
their sentence or were conditionally released onto supervision.
Admissions to incarceration for new court commitments or due to
revocations of supervision are counted as instances of reincarceration
recidivism.
</MethodologyDescription>
<SectionTitle>
{SECTION_TITLES[PATHS.prison].recidivismSingleFollowup}
</SectionTitle>
<MethodologyDescription>
This chart shows the reincarceration recidivism rate for a set number
years since the release, for the 10 most recent release cohorts.
</MethodologyDescription>
</>
),
[PATHS.parole]: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
DIMENSION_KEYS,
DIMENSION_MAPPINGS,
} from "../constants";
import Disclaimer from "../disclaimer";
import {
assignOrderedDatavizColor,
demographicsAscending,
Expand Down Expand Up @@ -97,10 +98,13 @@ export default function VizRecidivismRates({
});

return (
<RecidivismRatesChart
data={chartData}
highlightedCohort={highlightedCohort}
/>
<>
<RecidivismRatesChart
data={chartData}
highlightedCohort={highlightedCohort}
/>
<Disclaimer type="small-data" />
</>
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
DIMENSION_MAPPINGS,
TOTAL_KEY,
} from "../constants";
import Disclaimer from "../disclaimer";
import { THEME } from "../theme";
import { demographicsAscending, recordIsTotalByDimension } from "../utils";

Expand Down Expand Up @@ -105,6 +106,7 @@ export default function VizRecidivismSingleFollowup({ data, dimension }) {
setSelectedChartTitle={setSelectedChartTitle}
width={width || 0}
/>
<Disclaimer type="small-data" />
</Wrapper>
)}
</Measure>
Expand Down