Skip to content

Commit

Permalink
Add additional explainer text around prediction data delivery (#984)
Browse files Browse the repository at this point in the history
Also add release badge to README
  • Loading branch information
nathan-weinberg committed May 21, 2024
1 parent 5545e9a commit e3cdd10
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
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)
![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

0 comments on commit e3cdd10

Please sign in to comment.