manual_vet_extractor_old: Copy a Random Subset of Files to a New Directory for Manual...

View source: R/old_Manual_Vetting_Tools.R

manual_vet_extractor_oldR Documentation

Copy a Random Subset of Files to a New Directory for Manual Vetting

Description

manual_vet_extractor copies a randomly selected subset of files in a project to a new folder to faciiliate manual vetting. The function will only move files with an accepted automatic species assingment from SonoBat.

Usage

manual_vet_extractor_old(
  dataset,
  directory,
  species_list = c("Epfu", "Labo", "Laci", "Lano"),
  percentage = 0.05,
  no_manual = FALSE
)

Arguments

dataset

Character, a "raw_data_..." output from GUANO_loader.

directory

Character, the directory where selected files shoud be copied to.

species_list

Character, a single species or list in the form of four character species codes used by SonoBat, e.g. "Epfu". Defaults to non Ontario SAR: c("Epfu", "Labo", "Laci", "Lano").

percentage

Number. What proportion of files do you wish to extract. Defaults to 0.05 - 5 percent.

no_manual

Logical vector, defaults to FALSE. If TRUE the function will ignore files that have already been assigned an ID.

Value

A folder within the file folder filled with a percentage of files of the selected copied.

See Also

Other Manual Vetting Functions: high_frequency_extractor(), manual_vet_extractor()

Examples

## Not run: 
manual_vet_extractor("raw_data_project", "C:/Folder/Folder/File_Folder")

## End(Not run)

vulpes-vulpes/batr documentation built on Jan. 23, 2025, 3:23 p.m.