upload_positive: Upload Positives in NBS to ACNS Data

Description Usage Arguments Value

View source: R/upload_positive.R

Description

upload_positive() uploads data from prep_positive() to the ACNS SFTP site for inclusion in the following day's ACNS_DAILY_OUT file.

Usage

1
2
3
4
5
6
upload_positive(
  .data = prep_positive(),
  path = "nbs_cumulative.xlsx",
  usr = Sys.getenv("acns_usr"),
  pwd = Sys.getenv("acns_pwd")
)

Arguments

.data

A tibble from prep_positive()

path

The location to save the data on the SFTP server

usr

The username for the SFTP server

pwd

The password for the SFTP server

Value

.data (invisibly)


jesse-smith/covidsms documentation built on Dec. 25, 2021, 4:24 a.m.