New test test-get_api_tsgraph.R added for get_api_tsgraph().
slider package added as a dependency.
lubridate package added as a dependency.
Deprecated alert_mar() function has been removed.
add_rmd_template() has been improved with additional arguments and better error handling.
remove_rmd_template() has been improved with additional arguments and better error handling.
Rnssp:::add_rmd_template_gui() has been improved with additional arguments and better error handling.
Rnssp:::remove_rmd_template_gui() has been improved with additional arguments and better error handling.
$get_api_response() has been improved and now prints HTTP status code.
$get_api_tsgraph() has been improved with additional arguments and now prints HTTP status code.
The $get_api_tsgraph() method has been deprecated and will be removed in the next release of Rnssp.
New method $get_api_graph() has been added as a replacement to the $get_api_tsgraph().
Bug Fixes
Abstracted critical user credentials from the $get_api_ts_graph() method.
Fix the get_api_tsgraph() function which was previously returning an API response object.
Rnssp 0.1.0
New Features
New function get_api_response() added as a wrapper to the $get_api_response() method defined in the Credentials class.
New function get_api_data() added as a wrapper to the $get_api_data() method defined in the Credentials class.
New function get_api_tsgraph() added as a wrapper to the $get_api_tsgraph() method defined in the Credentials class.
Regression/EWMA Switch algorithm alert_switch() added for anomaly detection.
Adaptive Multiple Regression algorithm alert_regression() added for anomaly detection.
Farrington Temporal Detector algorithm alert_farrington() added for weekly time series of counts spanning multiple years.
ICD Code Web Scraper function webscrape_icd() added to web scrape ICD discharge diagnosis code sets from the CDC FTP server (for ICD-10) or CMS website (for ICD-9).
The following Addins have been added for RStudio users:
Create User Profile via a Graphical User Interface (Rnssp:::create_user_profile_gui())
Create a User Profile with a script skeleton (Rnssp:::create_user_profile())
Open Rnssp templates online documentation (Rnssp:::rnssp_templates_manual())
Open Rnssp package online documentation (Rnssp:::rnssp_manual())
Updates
add_rmd_template() no longer has a template_name argument. The argument template_name has been replaced by template which is the first argument in the function call.
Added shapefile for US Hospital Service Area (HSA) Shapefile (hsa_sf)
Added Rnssp stopwords (rnssp_stopwords)
alert_mar() is depecrated. Use alert_regression instead.
Test test_alert_mar.R has been removed for alert_mar().
Regression models in alert_regression() are fit using lm.fit() instead of lm() to reduce computation time associated with extraneous computations made by lm().
New vignette added to demonstrate the use of Rnssp addins.
Other News
slider package dependency no longer needed.
cli package is now a dependency for attractive Command Line Interfaces (CLIs)