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.

updateFragment(labbcat.url, fragment.path)

Arguments

labbcat.url

URL to the LaBB-CAT instance

fragment.path

The path to the fragment to upload.

Value

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

Details

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

Examples

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