
Gets binary annotation data in fragments.
getFragmentAnnotationData.Rd
In some annotation layers, the annotations have not only a textual label, but also binary data associated with it; e.g. an image or a data file. In these cases, the 'type' of the layer is a MIME type, e.g. 'image/png'. This function gets annotations between given start/end times on the given MIME-typed layer, and retrieves the binary data as files, whose names are returned by the function.
Usage
getFragmentAnnotationData(
labbcat.url,
transcript.id,
start,
end,
layer.id,
path = "",
no.progress = FALSE
)
Arguments
- labbcat.url
URL to the LaBB-CAT instance
- transcript.id
The transcript ID (transcript name) of the sound recording, or a vector of transcript IDs.
- start
The start time in seconds, or a vector of start times.
- end
The end time in seconds, or a vector of end times.
- layer.id
The ID of the MIME-typed layer.
- path
Optional path to directory where the files should be saved.
- no.progress
TRUE to supress visual progress bar. Otherwise, progress bar will be shown when interactive().