bioacoustica.getAnnotations: Function to request annotated sections of recordings from...

Description Usage Arguments Value Author(s) Examples

Description

This function is used to get annotation information form the BioAcoustica database, based on the taxon fetaured in the annotated section and the type of annotation. By default this function performs checks that the requested taxa and types are valid, for faster operation the checks can be skipped.

Usage

1
bioacoustica.getAnnotations(taxon = NULL, type = NULL, skipcheck = FALSE)

Arguments

taxon

A taxon name can be passed to the function to filter annotations to that taxon and its children.

type

An annotation type can be passed to the function to filter anootations to that type.

skipcheck

If set to TRUE the taxon and type filters will not be checked before filtering.

Value

CSV file a string.

Author(s)

Ed Baker

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function(taxon=NULL, type=NULL, skipcheck=FALSE) {
  path <- "/R/annotations";
  annotations <- bioacoustica::bioacoustica.call(path);
  return (annotations);
}

BioAcoustica/bioacousticaR documentation built on May 5, 2019, 3:46 p.m.