# NOT RUN {
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"
## Get all participants whose IDs start with "BR"
participants <- getMatchingParticipantIds(labbcat.url, "/^BR.+/.test(id)")
## Get the first twenty transcripts in the "QB" corpus
participants <- getMatchingParticipantIds(
labbcat.url, "labels('corpus').includes('QB')", 20, 0)
## Get all participants in the "QB" corpus that have "Jacqui" as part of the ID
participants <- getMatchingTranscriptParticipantIds(
labbcat.url, "labels('corpus').includes('QB') && /^BR.+/.test(id)")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab