deleteLayer: Deletes an existing layer

View source: R/deleteLayer.R

deleteLayerR 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

Other Annotation layer functions: generateLayer(), getLayer(), getLayerIds(), getLayers(), newLayer(), saveLayer()

Examples

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

## End(Not run)


nzilbb.labbcat documentation built on June 8, 2025, 10:57 a.m.