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

deleteParticipant(labbcat.url, id)

Arguments

labbcat.url

URL to the LaBB-CAT instance

id

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

Value

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

Examples

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

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