View source: R/getSerializerDescriptors.R
getSerializerDescriptors | R Documentation |
Returns a list of serializers, which are modules that export annotation structures as a specific file format, e.g. Praat TextGrid, plain text, etc., so the mimeType of descriptors reflects what mimeTypes can be specified for getFragments.
getSerializerDescriptors(labbcat.url)
labbcat.url |
URL to the LaBB-CAT instance |
A list of serializers, each including the following information:
name The name of the format.
version The installed version of the serializer module.
fileSuffixes The normal file name suffixes (extensions) of the files.,
mimeType The MIME type of the format, i.e. the value to use as the mimeType parameter of getFragments,
getFragments
## Not run:
## List file export formats supported
formats <- getSerializerDescriptors("https://labbcat.canterbury.ac.nz/demo/")
## can we export as plain text?
plainTextSupported <- "text/plain" %in% formats$mimeType
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.