deleteParticipant: Deletes a participant record.

View source: R/deleteParticipant.R

deleteParticipantR Documentation

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)

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.

See Also

getParticipant saveParticipant

Examples

## Not run: 
## 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")

## End(Not run)


nzilbb.labbcat documentation built on July 26, 2023, 6:08 p.m.