Description Usage Arguments Value
View source: R/download_acns.R
download_sms()
downloads the file used to send text messages. Date columns
are returned as dates; all other are character. All column names are passed
through janitor::clean_names()
.
1 2 3 4 5 6 7 8 9 | download_sms(
path = "ACNS/ACNS_DAILY_OUT.txt",
usr = Sys.getenv("sftp_usr"),
pwd = Sys.getenv("sftp_pwd"),
server = "xfer.shelbycountytn.gov",
archive = TRUE,
archive_dir = "V:/EPI DATA ANALYTICS TEAM/Mass Texting/ACNS_DAILY_OUT/",
...
)
|
path |
Path to file to download on SFTP server |
usr |
Username for SFTP server |
pwd |
Password for SFTP server |
server |
Server address |
archive |
Should the data be archived before loading in-memory? This will only write data to an archive file that does not already exist. |
archive_dir |
The archive directory path |
... |
Additional arguments to pass to |
A tibble
containing the data from the ACNS sms file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.