How rammeshgar/exchange_universe_shiny works
Exchange Universe is an R Shiny currency-atlas dashboard. Users select a base and up to six currencies, explore quotes and daily history through charts and a world map, convert amounts, inspect statistics, and save or share comparisons. The README identifies APILayer as the rates and symbols provider and describes shared caching and request controls. Source excerpts are limited to browser scripts, so backend call ownership and several internal data flows are not verified; the graph keeps those links conservative.
Main entry points: app.R Shiny app · app.js Dashboard interactions · analytics.js Privacy-aware analytics · provider.R Rates provider
Components 17
Dashboard experience
- Shiny app
app.R - Dashboard UI
R/ui.R
Market data
- Configuration
R/config.R - Rates provider
R/provider.R - Cache and request queue
R/store.R - Rate data
R/data.R
Analysis and geography
- Rate calculations
R/analytics.R - Comparison charts
R/charts.R - Currency world map
data/world.rds - Country metadata
data/countries.csv
Client experience
- Browser state and sharing
www/app.js - Dashboard interactions
www/app.js - Privacy-aware analytics
www/analytics.js
Other components
- Visitor
- APILayer
- Google Analytics 4
- Microsoft Clarity
Connections 16
- Visitor → Shiny app: uses dashboard
README.md - Shiny app → Dashboard UI: presents views
README.md - Shiny app → Configuration: uses configuration
- Rates provider → APILayer: fetches rates
README.md - Cache and request queue → Rates provider: reduces requests
README.md - Shiny app → Cache and request queue: uses shared caching
README.md - Shiny app → Rate data: uses rates
- Rate data → Rate calculations: supports statistics
- Rate calculations → Comparison charts: feeds comparisons
- Visitor → Currency world map: selects currencies
README.md - Country metadata → Currency world map: maps countries
- Visitor → Dashboard interactions: controls dashboard
README.md - Dashboard interactions → Browser state and sharing: saves and shares
www/app.js - Dashboard interactions → Privacy-aware analytics: sets privacy choice
www/analytics.js - Privacy-aware analytics → Google Analytics 4: loads conditionally
www/analytics.js - Privacy-aware analytics → Microsoft Clarity: loads conditionally
www/analytics.js