Skip to contents


This repository is the repo for the R-package klassR. The package is designed to provide an easy interface to retrieving classifications from Statistic Norway’s classification database.

Quick guide

To install the klassR package use


You can the load the package into the environment with


To fetch a classification, use the GetKlass function together with the klass number from SSBs KLASS. For example occupation classifications (klass number 7) can be fetched with


A more in depth introduction to klassR can be found at: