Description Usage Arguments Details Author(s) Examples
This function will send out the results of the myhealth_monthly_surgery_tbl()
The RDCOMClient Library must be called into the namespace
first with any of the following
library(RDCOMClient)
require(RDCOMClient)
if(!require(pacman)) install.packages("pacman")
pacman::p_load("RDCOMClient")
1 | myhealth_monthly_surgery_automation(.data, .delete_file = FALSE, .email)
|
.data |
The data from |
.delete_file |
FALSE is the default, so the file will be kept, TRUE will delete the file after function completion |
.email |
Provide the email address for the recipient. The email must be in double quotes like so: c("person@licommunityhospital.org;person2@licommunityhospital.org") using a semi-colon if there is more than one address. |
Takes in the results of myhealth_monthly_surgery_tbl()
function
Asks user where to save the temporary file
Will delete file after sending if parameter is set to true
Steven P. Sanderson II
1 2 3 4 5 6 7 8 | ## Not run:
library(RDCOMClient)
library(tidyverse)
myhealth_monthly_surgery_query() %>%
myhealth_monthly_surgery_tbl() %>%
myhealth_monthly_surgery_automation(.email = "someone@email.com")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.