How cdcgov/rnssp works
Rnssp is an R package of reusable NSSP data-processing and analytics tools. Its documented example has an analyst create a credential profile, adjust an ESSENCE API URL, and retrieve syndromic-surveillance data, either directly or through the profile. The repository also includes alert-detection methods, geospatial reference data, text-mining utilities, report templates, and an app. Source excerpts were unavailable, so links beyond the README’s documented API workflow are omitted rather than inferred.
Main entry points: api_utilities.R ESSENCE API access · credentials.R Credential profiles · token.R Token profiles · utility.R URL date updates
Components 20
API access
- Credential profiles
R/credentials.R - Token profiles
R/token.R - Authentication
R/auth.R - ESSENCE API access
R/api_utilities.R - URL date updates
R/utility.R
Surveillance analytics
- Alert methods
R/alert_ewma.R - Farrington alerts
R/alert_farrington.R - Negative binomial
R/alert_nbinom.R - Regression alerts
R/alert_regression.R - Serfling alerts
R/alert_serfling.R - Alert switching
R/alert_switch.R - Trend classification
R/classify_trend.R
Reference data
- Geospatial datasets
R/state_sf.R
Reusable tools
- Text mining
R/rnssp_stopwords.R - ICD web scraping
R/webscrape_icd.R - Report templates
inst/rmarkdown/templates - RStudio add-ins
R/rnssp_addins.R - Shiny app
R/run_app.R
Other components
- R user
- ESSENCE API
Connections 6
- R user → Credential profiles: creates profile
README.md - R user → Token profiles: creates token profile
README.md - R user → URL date updates: updates URL dates
README.md - R user → ESSENCE API access: requests data
README.md - Credential profiles → ESSENCE API access: gets data
README.md - ESSENCE API access → ESSENCE API: requests data
README.md