View source: R/updateFragment.R
updateFragment | R Documentation |
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)
labbcat.url |
URL to the LaBB-CAT instance |
fragment.path |
The path to the fragment to upload. |
For this function to work, the credentials used to connect to the server must have at least 'edit' access.
A named list with information about the fragment that was updated.
## Not run:
## 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")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.