R/jobTitles.R

Defines functions jobTitles

Documented in jobTitles

jobTitles <- function(list){
  if(length(list$occupation$sample_of_reported_job_titles) > 0){
    jobTitles <- ldply((lapply(list$occupation$sample_of_reported_job_titles, function(x){t(unlist(x))})))
    return(jobTitles)
  }
  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.