download_drive_rls: Download raw RL data from the FB Google Drive

View source: R/download_drive_rls.R

download_drive_rlsR Documentation

Download raw RL data from the FB Google Drive

Description

This function downloads the "raw" format of RL data, for all types of anthropogenic sounds, in all available variations of RL type and frequency band. Most users will want to also use extract_rls to generate data frames or text files with data in a simpler format.

Usage

download_drive_rls(
  rl_file = c("RLs_3obank", "RLs_3obank_2022.csv"),
  ping_log_file = c("qPing_log_corr_times_master",
    "Zica-20220112-195994_Individual_MFA_Pings.csv",
    "Zica-20211113-195993_Individual_MFA_Pings.csv",
    "Zica-20211112-94819_Individual_MFA_Pings.csv"),
  path = getwd(),
  email,
  overwrite = TRUE
)

Arguments

rl_file

name of .csv file(s) (on Google Drive) with ping log data. Defaults to: RLs_3obank.csv and RLs_3obank_2022.csv (most users should not need to change this.)

ping_log_file

name of .csv file (on Google Drive) with ping log data. Defaults to: qPing_log_corr_times_master.csv plus individual files for whales processed through June 2022 (most users should not need to change this.)

path

Quoted string with the path to the directory where you want to save the downloaded file. Defaults to the current working directory. Final "/" not needed. Use "/" rather than "\" to avoid possible headaches.

email

Email address (for FB Google Drive authentication). You may also be asked to sign in or verify your Google identity as this function runs.

overwrite

Whether or not to overwrite an existing file. Logical. Default: TRUE.

Value

Returns a "dribble" with information about the files and their location on google drive. (The function also downloads the requested files, of course.)


stacyderuiter/FBtagtools documentation built on June 1, 2025, 6:26 p.m.