- New function
get_api_data()
added as a wrapper to the$get_api_response()
method defined in theCredentials
class. - New function
get_api_response()
added as a wrapper to the$get_api_data()
method defined in theCredentials
class. - New function
get_api_tsgraph()
added as a wrapper to the$get_api_tsgraph()
method defined in theCredentials
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()
) - List available Rnssp templates (
list_templates()
) - Add or Update Rnssp templates (
Rnssp:::add_rmd_template_gui()
) - Remove Rnssp templates (
Rnssp:::remove_rmd_template_gui()
) - Open Rnssp templates online documentation (
Rnssp:::rnssp_templates_manual()
) - Open Rnssp package online documentation (
Rnssp:::rnssp_manual()
)
- Create User Profile via a Graphical User Interface (
add_rmd_template()
no longer has atemplate_name
argument. The argumenttemplate_name
has been replaced bytemplate
which is the first argument in the function call.- New test
test-alert_farrington.R
added foralert_farrington()
. - New test
test-alert_regression.R
added foralert_regression()
. - New test
test-alert_switch.R
added foralert_switch()
. - New test
test-add_rmd_template.R
added foradd_rmd_template()
. - New test
test-remove_rmd_template.R
added forremove_rmd_template()
. - New test
test-get_api_data.R
added for theget_api_data()
function. - New test
test-get_api_response.R
added for theget_api_response()
function. - New test
test-get_api_tsgraph.R
added for theget_api_tsgraph()
function. - New test
test-get_api_data_method.R
added for the$get_api_data()
method. - New test
test-get_api_response_method.R
added for the$get_api_response()
method. - New test
test-get_api_tsgraph_method.R
added for the$get_api_tsgraph()
method. - New test
test-webscrape_icd.R
added forwebscrape_icd()
- Added shapefile for US Hospital Service Area (HSA) Shapefile (
hsa_sf
) - Added Rnssp stopwords (
rnssp_stopwords
) alert_mar()
is depecrated. Usealert_regression
instead.- Test
test_alert_mar.R
has been removed foralert_mar()
. - Regression models in
alert_regression()
are fit usinglm.fit()
instead oflm()
to reduce computation time associated with extraneous computations made bylm()
. - New vignette added to demonstrate the use of Rnssp addins.
slider
package dependency no longer needed.cli
package is now a dependency for attractive Command Line Interfaces (CLIs)
- All vignettes can be browsed with the
Rnssp_vignettes()
function list_templates()
lists available templates from the Rnssp-rmd-templates Github repositoryadd_rmd_template()
can now add RMarkdown templates from Rnssp-rmd-templates Github repositoryadd_rmd_template()
can now run in non-interactive moderemove_rmd_template()
removes an existing RMarkdown template from an existingRnssp
package template list.change_dates()
changes the start and/or end dates in an ESSENCE API URL
- Abstracted critical user credentials from response object.
- The
$get_api_data()
method has been extended to accept further arguments to parse CSV files.
- Added CI/CD pipeline
- Updated all
Rnssp
vignettes. - Rnssp Online documentation website is now available.
- Added new hex sticker for Rnssp package branding.
- Added a
THANKS.md
to acknowledge various supports and other contributions.
alert_ewma()
implements EWMA time series anomaly detection algorithmalert_mar()
implements MAR time series anomaly detection algorithmclassify_trend()
implements a time series trend classification algorithm- Added a vignette for time series anomaly detection and trend classification
- Added a
NEWS.md
file to track changes to the package.