Summarize SMRT (and/or Lander2) tag data on all clicks; add data on dive depth and sound exposure.

combine_all_clicks(
  tag_id = zc_smrt_tag_list,
  nc_path = getwd(),
  ae_path = getwd(),
  rl_file,
  ping_log_file,
  email,
  save_csv = TRUE,
  click_csv_name = "combined_zc_clicks.csv",
  buzz_csv_name = "combined_zc_buzzes.csv"
)

Arguments

tag_id

Character string or vector with tag IDs (without "-cal.nc"). Default: all SMRT/Lander2 ziphius tags.

nc_path

Directory (quoted string) where .nc files are stored. Can be one string, or a list the same length as tag_ids. Note: to download latest versions from Google drive, try function: download_drive_nc. Default: current working directory. Note: use "/" and not "\" to avoid headaches.

ae_path

Directory (quoted string) where text files with info about acoustic events are stored. If needed, you can use download_drive_acoustic_events to get these. Default is the current working directory.

rl_file

name (with path, if needed) of locally-stored .csv file with raw RL data. If not provided, the default is to use download_drive_rls to obtain it from the FB Google Drive.

ping_log_file

name (with path, if needed) of locally-stored .csv file with raw RL data. If not provided, the default is to use download_drive_rls to obtain it from the FB Google Drive.

email

Email address (required for FB Google Drive authentication; optional if rl_file is provided). You may also be asked to sign in or verify your Google identity as this function runs.

save_csv

Logical; whether or not to save a csv file with the results. Default: TRUE (and will overwrite any existing file)

click_csv_name

File name (with path, if desired) in which to save results in csv format. Default is combined_zc_clicks.csv.

buzz_csv_name

File name for buzz file. Default combined_zc_buzzes.csv

Value

A named list of two tibbles, one for clicks and one for buzzes