R/parse_ascribees.R

Defines functions parse_ascribees

#' @title Parse Promoted Candidates
#' @description return subset of candidates that are promoted candidates
#' @param candidates list of candidates
#' @export
parse_ascribees <- function(candidates){
  ascribees_list <- sapply(candidates, 'getElement', PT$ASCRIBEE_URI)
  ascribees <- unique(unlist(ascribees_list))
  as.character(ascribees)
}
Display-Lab/pictoralist documentation built on April 1, 2020, 1:25 a.m.