Description Usage Arguments Value
View source: R/download_acns.R
download_acns()
downloads data from both the address and texting ACNS
files and merges the two using common columns. It uses the address data as
reference; any data in the SMS dataset not matching the address data is
dropped. This is because address data is necessary for some downstream
functions.
1 2 3 4 5 6 | download_acns(
primary = c("sms", "addr"),
addr_creds = Sys.getenv(c("acns_usr", "acns_pwd")),
sms_creds = Sys.getenv(c("sftp_usr", "sftp_pwd")),
date = NULL
)
|
primary |
Which data source should be used as the primary table? Choices
are |
addr_creds |
Character. A length 2 vector containing the credentials for accessing the ACNS address data. The username should appear first, then the password. |
sms_creds |
Character. A length 2 vector containing the credentials for accessing the ACNS SMS data. The username should appear first, then the password. |
date |
The date to assign to the |
A tibble
containing the joined data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.