R/workStyles.R

Defines functions workStyles

Documented in workStyles

workStyles <-
function(list){
  if(length(list$work_styles) > 0){
    work_styles <- ldply((lapply(list$work_styles, function(x){t(unlist(x))})))
    return(work_styles)
  }
  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 29, 2017, 8:25 p.m.