How lwillem/socrates_rshiny works
SOCRATES is a social-contact data tool with online Shiny applications and a documented local CLI entry point. The tree indicates survey-data preprocessing, contact-matrix handling, analysis/plotting, and a separate socialmixr implementation. No source excerpts were available, so internal call relationships and data flow cannot be verified; the graph shows only documented user entry points and groups the remaining capabilities by their visible modules.
Main entry points: ui.R Shiny UI · socrates_cli.R Local CLI
Components 18
User entry points
- Shiny UI
ui.R - Shiny server
server.R - Local CLI
R/modules/socrates_cli.R - Local workflow
R/modules/socrates_local.R - SOCRATES core
R/socrates_main.R
Survey data
- Survey preprocessing
R/modules/preprocess_survey_data.R - Holiday preprocessing
R/modules/preprocess_holiday_data.R - Survey variants
R/modules - Survey utilities
R_socialmixr
Contact analysis
- Contact matrices
R_socialmixr/contact_matrix.r - Next-generation analysis
R/next_gen_lib.R - Wave analysis
R/wave_lib.R - Analysis plots
R
Configuration and data
- Matrix downloads
R/download_matrices.R - Configuration
R/load_config_base.R - Country administration
R/load_country_admin.R - Survey datasets
data
Other components
- User
Connections 2
- User → Shiny UI: uses online UI
- User → Local CLI: runs locally