Learn R Programming

nzilbb.labbcat (version 1.3-0)

deleteParticipant: Deletes a participant record.

Description

This function deletes the identified participant from the corpus, but only if they do not appear in any transcripts.

Usage

deleteParticipant(labbcat.url, id)

Value

TRUE if the participant's record was delete, FALSE otherwise.

Arguments

labbcat.url

URL to the LaBB-CAT instance

id

The participant ID - either the unique internal database ID, or their name.

See Also

getParticipant saveParticipant

Examples

Run this code
if (FALSE) {
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"

## Create a new participant record
saveParticipant(labbcat.url, "Juan Perez")

### Delete the participant we just created
deleteParticipant(labbcat.url, "Juan Perez")
}

Run the code above in your browser using DataLab