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

newLayer saveLayer

Examples

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

## End(Not run)


nzilbb.labbcat documentation built on July 26, 2023, 6:08 p.m.