View source: R/transcriptUploadDelete.R
transcriptUploadDelete | R Documentation |
This cancels a transcript upload started by a previous call to transcriptUpload() deleting any uploaded files from the server.
transcriptUploadDelete(labbcat.url, id)
labbcat.url |
URL to the LaBB-CAT instance |
id |
Upload ID returned by the prior call to transcriptUpload(). |
transcriptUpload
transcriptUploadParameters
newTranscript
updateTranscript
## Not run:
## 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.