<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw" -->

---
title: O*NET ratings, job descriptions and classification codes...
description: An R-based analysis tests whether two proxies - semantic similarity of O*NET job descriptions using the all-MiniLM-L6-v2 embedding model, and distance between...
canonical: https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: O*NET ratings, job descriptions and classification codes as measures of occupational similarity | daily.dev
og:description: An R-based analysis tests whether two proxies - semantic similarity of O*NET job descriptions using the all-MiniLM-L6-v2 embedding model, and distance between...
og:url: https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw
og:image: https://api.daily.dev/og/posts/hl8JPNyPw.png
og:image:alt: O*NET ratings, job descriptions and classification codes as measures of occupational similarity
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# O*NET ratings, job descriptions and classification codes as measures of occupational similarity

**[R-bloggers](https://daily.dev/sources/rbloggers)** · 46 min read · 0 upvotes · 0 comments

## Summary

An R-based analysis tests whether two proxies - semantic similarity of O*NET job descriptions using the all-MiniLM-L6-v2 embedding model, and distance between US Standard Occupational Classification (SOC) codes - can substitute for O*NET worker-characteristic ratings when estimating occupational similarity and identifying job transition pathways. Both proxies correlate positively with skill-based similarity scores and appear complementary: SOC code distance is better at separating broad classes of work, while job descriptions rank occupations more accurately within similar groups. Together the two proxies explain roughly a third of the variation in skill-based scores overall, but only 10-15% within a major group, which is the range most job seekers actually consider. The piece walks through the full R workflow (tidyverse, text package, Manhattan distance via dist(), cosine similarity via textSimilarityMatrix(), heatmaps and correlation plots) and concludes that neither proxy replaces detailed O*NET data, but both offer a reasonable sense check for transition-pathway estimates when O*NET-equivalent data isn't available.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.r-bloggers.com/2026/09/onet-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity>

## Questions this post answers

### Can SOC code distance be used as a proxy for occupational similarity when O*NET data isn't available?

Yes, with caveats: SOC code distance provides a reasonable proxy, especially for separating broad classes of work, but it has limited precision because occupations with similar work can have SOC codes thousands apart (e.g., Surgical Assistants at 29-9093 versus Home Health Aides at 31-1121). Rank-based list position works better than raw numeric code differences, and its explanatory power drops sharply once code differences exceed roughly 300 positions.

_For teams weighing occupational data options, daily.dev surfaces practical write-ups on skills-based transition modeling._

### How well do semantic embeddings of job descriptions predict skill-based occupational similarity from O*NET ratings?

Semantic similarity from the all-MiniLM-L6-v2 sentence-transformer model correlates positively with O*NET skill-based ratings but explains only about a third of the variation overall, dropping to 10-15% within the same major occupational group. It generally outperforms SOC code distance at ranking jobs within a shared classification, while SOC distance is better at separating dissimilar classes of work.

_Developers evaluating embedding models for domain-specific similarity tasks can find comparable experiments on daily.dev._

### Which O*NET database version and rating scales are used to build skill gap based occupational similarity scores?

Version 31.0 of the O*NET database is used, with importance ratings on a 1-5 scale and level ratings on a 0-7 scale, both rescaled to 0-100 for comparison. Skill gaps are computed as Manhattan distance across abilities, essential skills, transferable skills, and knowledge categories using R's dist() function, then averaged equally across the four characteristic sets before converting gaps into a 0-100 similarity score.

_Anyone building similar labor-market pipelines in R can track methodology write-ups like this via daily.dev._

## Similar posts on daily.dev

- [Identifying skills-based occupational transition pathways with the O\*NET](https://daily.dev/posts/identifying-skills-based-occupational-transition-pathways-with-the-o-net-aczx3zq9o) · R-bloggers · 0 upvotes · 0 comments
- [The boring part first: Building a crosswalk from O\*NET-SOC to ANZSCO](https://daily.dev/posts/the-boring-part-first-building-a-crosswalk-from-o-net-soc-to-anzsco-umypjtkgp) · R-bloggers · 0 upvotes · 0 comments
- [Cosine Similarity Told Me ‘How Alike.’ It Never Told Me ‘How Much.](https://daily.dev/posts/cosine-similarity-told-me-how-alike-it-never-told-me-how-much--xj649x37m) · Medium · 0 upvotes · 0 comments
- [Explore LLM word representations using similarity analysis \(part 1\)](https://daily.dev/posts/explore-llm-word-representations-using-similarity-analysis-part-1--rm86xpu3g) · The Palindrome · 1 upvotes · 0 comments
- [One Embedding per Job, or Two? Measuring Semantic Search in a Spring Boot Job Portal](https://daily.dev/posts/one-embedding-per-job-or-two-measuring-semantic-search-in-a-spring-boot-job-portal-cmtw501kh) · Foojay.io · 2 upvotes · 0 comments

---

Tags: [#r](https://daily.dev/tags/r), [#data-analysis](https://daily.dev/tags/data-analysis)

[View this post on daily.dev](https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"O*NET ratings, job descriptions and classification codes as measures of occupational similarity","url":"https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw"},"datePublished":"2026-09-21T15:57:57.991Z","dateModified":"2026-09-21T15:58:24.617Z","description":"An R-based analysis tests whether two proxies - semantic similarity of O*NET job descriptions using the all-MiniLM-L6-v2 embedding model, and distance between...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6b602a5492e62ce3684a1805bc5dc5a9?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6b602a5492e62ce3684a1805bc5dc5a9?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"R-bloggers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"R-bloggers","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98bcbbdf72774292a55ceda8f2277f1e","url":"https://daily.dev/sources/rbloggers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"r,data-analysis","timeRequired":"PT46M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"R-bloggers","item":"https://daily.dev/sources/rbloggers"},{"@type":"ListItem","position":3,"name":"O*NET ratings, job descriptions and classification codes as measures of occupational similarity"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/o-net-ratings-job-descriptions-and-classification-codes-as-measures-of-occupational-similarity-hl8jpnypw#faq","mainEntity":[{"@type":"Question","name":"Can SOC code distance be used as a proxy for occupational similarity when O*NET data isn't available?","acceptedAnswer":{"@type":"Answer","text":"Yes, with caveats: SOC code distance provides a reasonable proxy, especially for separating broad classes of work, but it has limited precision because occupations with similar work can have SOC codes thousands apart (e.g., Surgical Assistants at 29-9093 versus Home Health Aides at 31-1121). Rank-based list position works better than raw numeric code differences, and its explanatory power drops sharply once code differences exceed roughly 300 positions. For teams weighing occupational data options, daily.dev surfaces practical write-ups on skills-based transition modeling."}},{"@type":"Question","name":"How well do semantic embeddings of job descriptions predict skill-based occupational similarity from O*NET ratings?","acceptedAnswer":{"@type":"Answer","text":"Semantic similarity from the all-MiniLM-L6-v2 sentence-transformer model correlates positively with O*NET skill-based ratings but explains only about a third of the variation overall, dropping to 10-15% within the same major occupational group. It generally outperforms SOC code distance at ranking jobs within a shared classification, while SOC distance is better at separating dissimilar classes of work. Developers evaluating embedding models for domain-specific similarity tasks can find comparable experiments on daily.dev."}},{"@type":"Question","name":"Which O*NET database version and rating scales are used to build skill gap based occupational similarity scores?","acceptedAnswer":{"@type":"Answer","text":"Version 31.0 of the O*NET database is used, with importance ratings on a 1-5 scale and level ratings on a 0-7 scale, both rescaled to 0-100 for comparison. Skill gaps are computed as Manhattan distance across abilities, essential skills, transferable skills, and knowledge categories using R's dist() function, then averaged equally across the four characteristic sets before converting gaps into a 0-100 similarity score. Anyone building similar labor-market pipelines in R can track methodology write-ups like this via daily.dev."}}]}
```

