Skip to contents

This function converts a long-formatted report into a wide survey by species dataframe of abundance values. This function is best preceded by thewt_tidy_species and wt_replace_tmtt functions to ensure 'TMTT' and amphibian calling index values are not converted to zeros.

Usage

wt_make_wide(data, sound = "all")

Arguments

data

WildTrax main report or tag report from the wt_download_report() function.

sound

Character; vocalization type(s) to retain ("all", "Song", "Call", "Non-vocal"). Can be used to remove certain types of detections. Defaults to "all" (i.e., no filtering).

Value

A dataframe identical to input with observations of the specified groups removed.

Examples

if (FALSE) {
dat.tidy <- wt_tidy_species(dat)
dat.tmtt <- wt_replace_tmtt(dat.tidy)
dat.wide <- wt_make_wide(dat.tmtt, sound="all")
}