View source: R/getParticipantAttributes.R
| getParticipantAttributes | R Documentation | 
Gets participant attribute values for given participant IDs
getParticipantAttributes(labbcat.url, participant.ids, layer.ids)
| labbcat.url | URL to the LaBB-CAT instance | 
| participant.ids | A vector of participant IDs | 
| layer.ids | A vector of layer IDs corresponding to participant attributes. In general, these are layers whose ID is prefixed 'participant_', however formally it's any layer where layer$parentId == 'participant' && layer$alignment == 0. | 
A data frame of attribute value labels.
## Not run: 
## Get gender and age for all participants
attributes <- getParticipantAttributes(labbcat.url,
            getParticipantIds(labbcat.url),
            c('participant_gender', 'participant_age'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.