Research Labs

2026-09-17 20:36 UTCopen field data · live

pages/methods.php

Snapshot 2026.09.17-a2894de (current) · 14 lines · 1,451 bytes · tree · plain text

SHA-256 b79278d6d77507c7c143083f23f5497cf866b5722928e98d7b73b92fef4a7fcf
1<?php
2require_once __DIR__.'/../inc/layout.php';
3page_header('Instruments','methods');
4echo '<h1>Instruments & methods</h1><p class="lede">Every data point in the programme, the named instrument that produces it, how its data reaches this platform, and where it lives on this site. Nothing collected is unaccounted for.</p>';
5$q=db()->query("SELECT s.*, i.name inst_name, i.product, i.vendor_link, i.data_path, i.zone, i.cadence_min FROM streams s JOIN instruments i ON i.id=s.instrument_id ORDER BY i.zone, s.label");
6echo '<table class="data"><tr><th>Stream</th><th>Instrument (source)</th><th>Data path</th><th>Cadence</th><th>Page</th><th>Mode</th><th>Visibility</th></tr>';
7foreach($q as $s){
8 $vis=$s['visibility']==='public'?'public':($s['visibility']==='keyed'?'keyed API':'restricted');
9 echo '<tr><td>'.h($s['label']).'</td><td>'.h($s['product']).($s['vendor_link']?' · <a href="'.h($s['vendor_link']).'" target="_blank" rel="noopener">source</a>':'').'</td><td>'.h($s['data_path']).'</td><td>'.h((string)$s['cadence_min']).' min</td><td><a href="index.php?p='.h($s['page']).'">'.h($s['page']).'</a></td><td>'.mode_badge($s).'</td><td>'.h($vis).'</td></tr>';
10}
11echo '</table>';
12echo '<p class="note">The full procurement schedule with selection rules is Annex C of the research plan. Restricted rows exist where partner embargoes or sensitive locations apply; they are accounted for here rather than hidden silently.</p>';
13page_footer();
14

Lines can be cited as pages/methods.php L120-L140, platform code 2026.09.17-a2894de; add #L120-L140 to this page's address to highlight them. Source shown for scrutiny of the research platform. All rights reserved. Not offered as installable software.