weekly_psy_discharges_automation: Weekly PSY Discharges Automation

Description Usage Arguments Details Author(s) Examples

View source: R/automations.R

Description

This takes in data directly from the weekly_psy_discharges_query() as the data argument

Usage

1
weekly_psy_discharges_automation(.data, .delete_file = FALSE, .email)

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, MPH

Examples

1
2
3
4
5
6
7
## Not run: 
library(RDCOMClient)
library(tidyverse)
weekly_psy_discharges_query() %>%
  weekly_psy_discharges_automation(.email = "someone@email.com")

## End(Not run)

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