How wcsbrintel/iwt_globalobservatory works
This repository supports a multilingual wildlife-trafficking observatory plus a restricted records workspace. The public-facing workflow presents case and route information through map/globe and reporting capabilities; the restricted workflow loads records after access checks and provides an explorer with localization, scientific-name formatting, and export support. The README documents canonical case and route feeds and ingestion safeguards. Source excerpts are strongest for restricted explorer helpers, Firestore access, and the mail transport; other public capabilities are represented from the tree and README without inferring unsampled call paths.
Main entry points: explorer.js Records explorer · index.js Firebase functions · documented-routes.js Documented routes · secure.js Access and records
Components 23
Public observatory
- Case data layer
case-context.js - Case media
case-media-data.js - Documented routes
documented-routes.js - Route map
route-map.js - Globe view
globe-view.js - Temporal filtering
temporal-filter.js - Live search
live-search.js
Restricted workspace
- Restricted app
restricted/app.js - Access and records
restricted/secure.js - Records explorer
restricted/explorer.js - Record localization
restricted/record-locale.js - Scientific formatting
restricted/scientific-format.js - Period export
restricted/restricted-period-export.js - Spreadsheet export
xlsx-export.js
Access and services
- Firestore
- Firebase functions
firebase/functions/index.js - Graph mail transport
firebase/functions/graph-mail.js - GitHub reports API
Research and reporting
- Weekly reports
weekly-reports.js - Research app
research/app.js - Reportage app
reportage/app.js
Other components
- Public visitor
- Authorized contributor
Connections 20
- Public visitor → Case data layer: explores cases
README.md - Public visitor → Documented routes: views routes
README.md - Documented routes → Route map: feeds map layer
README.md - Documented routes → Globe view: feeds globe layer
README.md - Public visitor → Temporal filtering: filters activity
- Public visitor → Live search: searches cases
- Public visitor → Weekly reports: views reports
- Public visitor → Research app: opens research
- Public visitor → Reportage app: opens reportage
- Authorized contributor → Restricted app: opens workspace
- Restricted app → Access and records: checks access
- Access and records → Firestore: reads and writes
restricted/secure.js - Access and records → Records explorer: loads records
- Records explorer → Record localization: localizes fields
restricted/explorer.js - Records explorer → Scientific formatting: formats names
restricted/explorer.js - Records explorer → Period export: uses period logic
restricted/explorer.js - Records explorer → Spreadsheet export: imports exporter
restricted/explorer.js - Firebase functions → Graph mail transport: imports transport
firebase/functions/index.js - Firebase functions → Firestore: accesses records
firebase/functions/index.js - Firebase functions → GitHub reports API: fetches reports
firebase/functions/index.js