Learn R Programming

nzilbb.labbcat (version 1.3-0)

deleteLayer: Deletes an existing layer.

Description

This function deletes an existing annotation layer, including all annotation data associated with it.

Usage

deleteLayer(labbcat.url, layer.id)

Value

NULL, or an error message if deletion failed.

Arguments

labbcat.url

URL to the LaBB-CAT instance

layer.id

The ID of the layer to delete.

Details

You must have administration privileges in LaBB-CAT in order to be able to use this function.

See Also

newLayer saveLayer

Examples

Run this code
if (FALSE) {
## Delete the phonemes layer
deleteLayer(labbcat.url, "phonemes")
}

Run the code above in your browser using DataLab