download_servu: Download Lab File from Serv-U

View source: R/download_generic.R

download_servuR Documentation

Download Lab File from Serv-U

Description

Download Lab File from Serv-U

Usage

download_servu(
  date = Sys.Date(),
  usr = Sys.getenv("sftp_usr"),
  pwd = Sys.getenv("sftp_pwd"),
  remote_dir,
  local_dir = "V:/EPI DATA ANALYTICS TEAM/AEL Data/",
  new_file = NULL
)

Arguments

date

A date indicating the date of the file to download

usr

The username to pass to the SFTP site. Ideally, this should be stored in an Renviron file and not in a script.

pwd

The password to pass to the SFTP site. Ideally, this should be stored in an Renviron file and not in a script.

remote_dir

A string indicating the directory on Serv-U that should contain the file

local_dir

A string indicating the directory on the local system in which to save the file

new_file

A string indicating the new file name to save the data under. Currently not used.


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.