View source: R/npds_notifications.R
create_npds_notification | R Documentation |
create_npds_notification()
is used to create the notification email
that CDC send to the state health department epidemiologist and poison
control center contact persons when an incident of pubic health significance
is confirmed in the NPDS.
create_npds_notification(db, id, final, save = NULL)
db |
list; object generated by |
id |
numeric; integer identifying the row number for which you want to create the notification email. |
final |
logical; TRUE if the email to be created should be final and FALSE if the email to be created should be draft (not final). |
save |
character; filename of the output file. Default is NULL. If NULL a file is not created. |
If save = NULL
then the function will return a character
vector with the content to generate an eml (email) file. If save =
"file.eml"
then it will create a file named file.eml
with the
notification email.
# create_npds_notification("tests/manual_tests/NPDS_notification_database.xlsx", 1, final = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.