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 additional explainer text around prediction data delivery #984

Merged
merged 1 commit into from
May 21, 2024
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# TransitMatters Data Dashboard

![Release](https://img.shields.io/github/v/release/transitmatters/t-performance-dash)
devinmatte marked this conversation as resolved.
Show resolved Hide resolved
![lint](https://github.com/transitmatters/t-performance-dash/workflows/lint/badge.svg?branch=main)
![build](https://github.com/transitmatters/t-performance-dash/workflows/build/badge.svg?branch=main)
![deploy](https://github.com/transitmatters/t-performance-dash/workflows/deploy/badge.svg?branch=main)
Expand Down
13 changes: 13 additions & 0 deletions modules/predictions/PredictionsDetails.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use client';

import React from 'react';
import Link from 'next/link';
import dayjs from 'dayjs';
import utc from 'dayjs/plugin/utc';
import { useDelimitatedRoute } from '../../common/utils/router';
Expand Down Expand Up @@ -118,6 +119,18 @@ export function PredictionsDetails() {
<li>6-12 min: 150 seconds early to 210 seconds late</li>
<li>12-30 min: 240 seconds early to 360 seconds late</li>
</ul>
<br />
<p>
We receive this data in monthly batches from the{' '}
<Link
href="https://mbta-massdot.opendata.arcgis.com"
target="_blank"
className="hover:text-blue-500"
>
MassDOT Open Data Portal
</Link>
- if recent data is missing, it's likely because it's not yet available.
</p>
</div>
),
},
Expand Down
Loading