R/workContext.R

workContext <-
function(list){
  if(length(list$work_context) > 0){
    work_context <- ldply((lapply(list$work_context, function(x){t(unlist(x))})))
    return(work_context)
  }
  else{
    message("Warning: This type of data is missing or incomplete for this occupation.")
  }
}

Try the ONETr package in your browser

Any scripts or data that you put into this service are public.

ONETr documentation built on May 2, 2019, 6:46 a.m.