load.selection.tables.audacity {callsync}R Documentation

load.selection.tables.audacity

Description

Loads multiple Audacity selection tables into one data frame.

Usage

load.selection.tables.audacity(path_selection_tables)

Arguments

path_selection_tables

character, the path to the folder containing selection tables. Folder should not contain any other txt files.

Value

Returns data frame with all selection tables.

Examples

require(callsync)
require(seewave)
require(tuneR)
path_git = 'https://raw.githubusercontent.com'
path_repo = '/simeonqs/callsync/master/tests/testthat/files'
file_1 = '/audacity/chunk_15_ground_truth.txt'
url_1 = paste0(path_git, path_repo, file_1)
local_dir = paste(tempdir(), 'audacity', sep = '/')
local_file_1 = paste(tempdir(), file_1, sep = '/')
if(!dir.exists(local_dir)) dir.create(local_dir)
if(!file.exists(local_file_1))
  download.file(url_1, destfile = local_file_1, mode = 'wb',)
st = load.selection.tables.audacity(path_selection_tables = local_dir)


[Package callsync version 0.2.1 Index]