get_sa_species: Get Stationary Acoustic Species data

View source: R/sa_report_helpers.R

get_sa_speciesR Documentation

Get Stationary Acoustic Species data

Description

Extracts all of the species found within these stationary acoustic wav files (for, manual, automatic, or both detection types) type = 'all' | 'auto' | 'man' format = 'df' | 'vector' | 'vectorNoId' (remove NoID + other ambigous bat calls from list)

Usage

get_sa_species(sa_bulk_df, species_df, type = "all", format = "df")

Arguments

sa_bulk_df

Dataframe Mobile acoustic bulk data. Can get from get_ma_bulk_wavs() in nabatr

species_df

Dataframe species nabat lookup dataframe

type

String type of data to return for Stationary Acoustic 'auto' | 'man' | 'all' (automatic detection, manual detections, and both)

format

String format of data to return 'df' = dataframe of the species from this data, 'vector' = a string vector of all of the species from this data, 'vectorNoId' = a strin vector of all of the species but exclude 'NoID'

## Not run: proj_species_df = get_sa_species(sa_bulk_df, species_df, 'all','df') proj_species = get_sa_species(sa_bulk_df, species_df, 'all','vectorNoId') man_proj_species = get_sa_species(sa_bulk_df, species_df, 'man','vectorNoId') auto_proj_species = get_sa_species(sa_bulk_df, species_df, 'auto','vectorNoId') ## End(Not run)

usgs/nabatr documentation built on Jan. 28, 2024, 7:10 a.m.