| export_exb | R Documentation | 
Advice: In most situations it is more convenient to use act::corpus_export for exporting annotation files.
export_exb(
  t,
  outputPath = NULL,
  filterTierNames = NULL,
  filterSectionStartsec = NULL,
  filterSectionEndsec = NULL,
  createMediaLinks = TRUE
)
t | 
 Transcript object; transcript to be exported.  | 
outputPath | 
 Character string; path where .exb file will be saved.  | 
filterTierNames | 
 Vector of character strings; names of tiers to be included. If left unspecified, all tiers will be exported.  | 
filterSectionStartsec | 
 Double; start of selection in seconds.  | 
filterSectionEndsec | 
 Double; end of selection in seconds.  | 
createMediaLinks | 
 Logical; if   | 
The .exb file will be written to the file specified in outputPath.
If outputPath is left empty, the function will return the contents of the .exb itself.
Contents of the .exb file (only if outputPath is left empty)
corpus_export, export_eaf, export_printtranscript, export_rpraat, export_srt, export_textgrid
library(act)
# Get the transcript you want to export
t <- examplecorpus@transcripts[[1]]
# Create temporary file path
path <- tempfile(pattern = t@name, tmpdir = tempdir(), fileext = ".exb")
# It makes more sense, however, to you define a destination folder
# that is easier to access on your computer
## Not run: 
path <- file.path("PATH_TO_AN_EXISTING_FOLDER_ON_YOUR_COMPUTER",
                   paste(t@name, ".exb", sep=""))
## End(Not run)
# Export WITH media links
act::export_exb(t=t, outputPath=path)
# Export WITHOUT media links
act::export_exb(t=t, outputPath=path, createMediaLinks = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.