Learn R Programming

nzilbb.labbcat (version 1.3-0)

updateFragment: Update a transcript fragment.

Description

This function uploads a file (e.g. Praat TextGrid) representing a fragment of a transcript, with annotations or alignments to update in LaBB-CAT's version of the transcript.

Usage

updateFragment(labbcat.url, fragment.path)

Value

A named list with information about the fragment that was updated.

Arguments

labbcat.url

URL to the LaBB-CAT instance

fragment.path

The path to the fragment to upload.

Details

For this function to work, the credentials used to connect to the server must have at least 'edit' access.

Examples

Run this code
if (FALSE) {
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"

## upload new verison of transcript transcript
updateFragment(labbcat.url, "my-transcript__1.234-5.678.TextGrid")
}

Run the code above in your browser using DataLab