myhealth_monthly_surgery_automation: MyHealth Monthly Surgery Automation

Description Usage Arguments Details Author(s) Examples

View source: R/automations.R

Description

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

Usage

1

Arguments

.data

The data from myhealth_monthly_surgery_tbl()

.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.

Details

Author(s)

Steven P. Sanderson II

Examples

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)

spsanderson/LICHospitalR documentation built on Jan. 6, 2022, 12:32 a.m.