deleteLayer {nzilbb.labbcat}R Documentation

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)

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.

Value

NULL, or an error message if deletion failed.

See Also

newLayer saveLayer

Examples

## Not run: 
## Delete the phonemes layer
deleteLayer(labbcat.url, "phonemes")

## End(Not run)


[Package nzilbb.labbcat version 1.3-0 Index]