Skip to contents

This cancels a transcript upload started by a previous call to transcriptUpload() deleting any uploaded files from the server.

Usage

transcriptUploadDelete(labbcat.url, id)

Arguments

labbcat.url

URL to the LaBB-CAT instance

id

Upload ID returned by the prior call to transcriptUpload().

Examples

if (FALSE) { # \dontrun{
## Get attributes for new transcript
corpus <- getCorpusIds(labbcat.url)[1]
transcript.type.layer <- getLayer(labbcat.url, "transcript_type")
transcript.type <- transcript.type.layer$validLabels[[1]]

## upload transcript and its media
result <- transcriptUpload(labbcat.url, "my-transcript.eaf", "my-transcript.wav", FALSE)

## Changed our mind, cancel this upload
transcriptUploadDelete(labbcat.url, result$id)
} # }