high_frequency_extractor | R Documentation |
high_frequency_extractor
moves or copies a proportion of high frequency
files from a directory. To do so reqruies a text file output to be generated
for the directory in SonoBat.
high_frequency_extractor(
sonobat_output,
directory,
percentage = 0.1,
move_files = TRUE
)
sonobat_output |
Character, a full path to a text file output of the directory created from SonoBat > SonoVet > Export > Use Current Layout |
directory |
Character, a full path to the folder containg the files you wish to subset. |
percentage |
Number. What proportion of files do you wish to extract. Defaults to 0.1 - 10 percent. |
move_files |
Logical vector, defaults to |
A folder within the file folder filled with a percentage of high frequency files moved or copied.
this function will only work for files within a single directory. It will not work correctly where files are arranged in sub-directories!
Other Manual Vetting Functions:
manual_vet_extractor_old()
,
manual_vet_extractor()
## Not run:
high_frequency_extractor("C:/Folder/Files_Folder/sonobat_output.txt", "C:/Folder/Files_Folder", percentage = 0.1, move_files = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.