Rnssp v0.2.0
·
100 commits
to master
since this release
New Features
- New function
create_profile()
added as a wrapper to the$new()
method defined in theCredentials
class. - New function
get_essence_data()
added to specifically pull data using the NSSP-ESSENCE API. - Negative binomial detection algorithm
alert_nbinom()
added for weekly time series of counts spanning multiple years. run_app()
has been added as a utility to run embedded shiny apps.- New
Token
class added for API services token use. TheToken
class has the same methods as theCredentials
class. - New function
create_token_profile()
added as a wrapper to the$new()
method defined in theToken
class. Rnssp
detects new version and suggests package upgrade.
Updates
- New test
test-create_profile.R
added forcreate_profile()
. - New test
test-create_token_profile.R
added forcreate_token_profile()
. - New test
test-alert_nbinom.R
added foralert_nbinom()
. - New test
test-alert_serfling.R
added foralert_serfling()
. - New test
test-get_essence_data.R
added forget_essence_data()
. - New test
test-get_api_graph.R
added forget_api_graph()
. - New test
test-get_api_tsgraph.R
added forget_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 ofRnssp
. - 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.