getAvailableMedia {nzilbb.labbcat} | R Documentation |
List the media available for the given transcript.
getAvailableMedia(labbcat.url, id)
labbcat.url |
URL to the LaBB-CAT instance |
id |
A transcript ID (i.e. transcript name) |
A named list of media files available for the given transcript, with members:
trackSuffix The track suffix of the media
mimeType The MIME type of the file
url URL to the content of the file
name Name of the file
## Not run:
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"
## List the media files available for BR2044_OllyOhlson.eaf
media <- getAvailableMedia(labbcat.url, "BR2044_OllyOhlson.eaf")
## End(Not run)