{
  "_id": "6a301f7a3efcd9bda433cd11",
  "Package": "klassR",
  "Type": "Package",
  "Title": "Classifications for Statistics Norway",
  "Version": "1.0.6",
  "Authors@R": "c(person(given = \"Susie\",\nfamily = \"Jentoft\",\nrole = \"aut\"),\nperson(given = \"Diana-Cristina\",\nfamily = \"Iancu\",\nrole = \"aut\"),\nperson(given = \"Lisa\",\nfamily = \"Li\",\nrole = \"aut\"),\nperson(given = \"Øyvind I.\",\nfamily = \"Berntsen\",\nrole = c(\"aut\", \"cre\"),\nemail = \"Oyvind.Berntsen@ssb.no\"),\nperson(\"Statistics Norway\", role = \"cph\"))",
  "Description": "Functions to search, retrieve, apply and update\nclassification standards and code lists using Statistics\nNorway's API <https://www.ssb.no/klass> from the system\n'KLASS'. Retrieves classifications by date with options to\nchoose language, hierarchical level and formatting.",
  "URL": "https://statisticsnorway.github.io/ssb-klassr/",
  "BugReports": "https://github.com/statisticsnorway/ssb-klassr/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev libssl-dev",
  "Repository": "https://statisticsnorway.r-universe.dev",
  "Date/Publication": "2026-06-15 13:30:22 UTC",
  "RemoteUrl": "https://github.com/statisticsnorway/ssb-klassr",
  "RemoteRef": "HEAD",
  "RemoteSha": "f05cb9998173a559ec112ea483d2713d9d41e181",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-15 15:46:22 UTC",
    "User": "root"
  },
  "Author": "Susie Jentoft [aut],\nDiana-Cristina Iancu [aut],\nLisa Li [aut],\nØyvind I. Berntsen [aut, cre],\nStatistics Norway [cph]",
  "Maintainer": "Øyvind I. Berntsen <Oyvind.Berntsen@ssb.no>",
  "MD5sum": "b2d054d4ab2d3cda5deb76e13f5a895d",
  "_user": "statisticsnorway",
  "_type": "src",
  "_file": "klassR_1.0.6.tar.gz",
  "_fileid": "50e29bcf9f1db58732c6949dadcd36e2fd9f93c8e2d019ed35b574f788efe112",
  "_filesize": 236421,
  "_sha256": "50e29bcf9f1db58732c6949dadcd36e2fd9f93c8e2d019ed35b574f788efe112",
  "_created": "2026-06-15T15:46:22.000Z",
  "_published": "2026-06-15T15:51:22.537Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81463062375,
      "time": 251,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7643426321"
    },
    {
      "job": 81463062355,
      "time": 253,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7643428184"
    },
    {
      "job": 81463062408,
      "time": 234,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7643419608"
    },
    {
      "job": 81463062453,
      "time": 194,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7643401750"
    },
    {
      "job": 81462236699,
      "time": 230,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7643315035"
    },
    {
      "job": 81463062416,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7643372644"
    },
    {
      "job": 81463062361,
      "time": 259,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7643429912"
    },
    {
      "job": 81463062409,
      "time": 222,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7643414367"
    },
    {
      "job": 81463062398,
      "time": 219,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7643413531"
    }
  ],
  "_buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/statisticsnorway/ssb-klassr",
  "_commit": {
    "id": "f05cb9998173a559ec112ea483d2713d9d41e181",
    "author": "Øyvind I. Berntsen <98751926+ssb-yib@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #71 from statisticsnorway/yib/fix-anonymous-func\n\nDon't depend on R 4.1.0",
    "time": 1781530222
  },
  "_maintainer": {
    "name": "Øyvind I. Berntsen",
    "email": "oyvind.berntsen@ssb.no"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "tm",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    }
  ],
  "_owner": "statisticsnorway",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.3",
      "date": "2025-10-28"
    },
    {
      "name": "v1.0.4",
      "date": "2026-01-13"
    },
    {
      "name": "v1.0.5",
      "date": "2026-03-17"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "ssb-yib",
      "count": 55,
      "uuid": 98751926
    },
    {
      "user": "sjentoft",
      "count": 44,
      "uuid": 25348319
    },
    {
      "user": "mafw",
      "count": 3,
      "uuid": 31126924
    }
  ],
  "_userbio": {
    "uuid": 5849578,
    "type": "organization",
    "name": "Statistics Norway",
    "followers": 314
  },
  "_downloads": {
    "count": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/klassR"
  },
  "_devurl": "https://github.com/statisticsnorway/ssb-klassr",
  "_pkgdown": "https://statisticsnorway.github.io/ssb-klassr/",
  "_searchresults": 37,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/klassR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/statisticsnorway/ssb-klassr",
  "_realowner": "statisticsnorway",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2019-10-09"
    },
    {
      "version": "0.1.3",
      "date": "2020-10-31"
    },
    {
      "version": "0.1.5",
      "date": "2021-03-30"
    },
    {
      "version": "0.1.7",
      "date": "2021-10-18"
    },
    {
      "version": "0.1.9",
      "date": "2022-03-04"
    },
    {
      "version": "0.1.10",
      "date": "2022-06-01"
    },
    {
      "version": "0.1.11",
      "date": "2022-06-08"
    },
    {
      "version": "0.2.0",
      "date": "2023-01-19"
    },
    {
      "version": "0.2.1",
      "date": "2023-05-08"
    },
    {
      "version": "0.2.3",
      "date": "2024-01-15"
    },
    {
      "version": "0.2.4",
      "date": "2024-08-16"
    },
    {
      "version": "1.0.0",
      "date": "2024-11-15"
    },
    {
      "version": "1.0.1",
      "date": "2024-12-03"
    },
    {
      "version": "1.0.2",
      "date": "2025-02-07"
    },
    {
      "version": "1.0.3",
      "date": "2025-10-24"
    },
    {
      "version": "1.0.4",
      "date": "2025-12-12"
    },
    {
      "version": "1.0.5",
      "date": "2026-02-26"
    }
  ],
  "_exports": [
    "apply_klass",
    "ApplyKlass",
    "correspond_list",
    "find_equivalent_codes",
    "find_equivalents",
    "get_family",
    "get_klass",
    "get_name",
    "get_version",
    "GetKlass",
    "klass_graph",
    "klass_node",
    "list_family",
    "list_klass",
    "search_klass",
    "update_klass",
    "update_klass_node"
  ],
  "_datasets": [
    {
      "name": "klass_131_1964_graph",
      "title": "Test Graph data for municipalities in 1964",
      "object": "klass_131_1964_graph",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "klass_131_2020_graph",
      "title": "Test Graph data for municipalities in 2020",
      "object": "klass_131_2020_graph",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "klass_131_graph",
      "title": "Test Graph data for municipalities in 2024",
      "object": "klass_131_graph",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "klassdata",
      "title": "Testdata for klassR package",
      "object": "klassdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "sex",
        "education",
        "kommune",
        "kommune2",
        "nace5",
        "occupation"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "apply_klass",
      "title": "Match and convert a classification",
      "topics": [
        "ApplyKlass",
        "apply_klass"
      ]
    },
    {
      "page": "correspond_list",
      "title": "Correspondence list Print a list of correspondence tables for a given classification with source and target IDs",
      "topics": [
        "CorrespondList",
        "correspond_list"
      ]
    },
    {
      "page": "find_equivalent_codes",
      "title": "Find equivalent sets of codes in a Klass classification",
      "topics": [
        "find_equivalents",
        "find_equivalent_codes"
      ]
    },
    {
      "page": "find_equivalent_nodes",
      "title": "Find the equivalent sets of a node at various dates",
      "topics": [
        "find_equivalent_nodes"
      ]
    },
    {
      "page": "get_family",
      "title": "Identify corresponding family from a classification number",
      "topics": [
        "GetFamily",
        "get_family"
      ]
    },
    {
      "page": "get_klass",
      "title": "Fetch Statistics Norway classification data using API",
      "topics": [
        "GetKlass",
        "get_klass"
      ]
    },
    {
      "page": "get_name",
      "title": "Get the name of a classification version",
      "topics": [
        "GetName",
        "get_name"
      ]
    },
    {
      "page": "get_version",
      "title": "Get version number of a class given a date",
      "topics": [
        "GetVersion",
        "get_version"
      ]
    },
    {
      "page": "klass_131_1964_graph",
      "title": "Test Graph data for municipalities in 1964",
      "topics": [
        "klass_131_1964_graph"
      ]
    },
    {
      "page": "klass_131_2020_graph",
      "title": "Test Graph data for municipalities in 2020",
      "topics": [
        "klass_131_2020_graph"
      ]
    },
    {
      "page": "klass_131_graph",
      "title": "Test Graph data for municipalities in 2024",
      "topics": [
        "klass_131_graph"
      ]
    },
    {
      "page": "klass_graph",
      "title": "Build a directed graph of code changes based on a Klass classification",
      "topics": [
        "klass_graph"
      ]
    },
    {
      "page": "klass_node",
      "title": "Given a Klass graph, find the node corresponding to a code and (optionally) a date.",
      "topics": [
        "klass_node"
      ]
    },
    {
      "page": "klassdata",
      "title": "Testdata for klassR package",
      "topics": [
        "klassdata"
      ]
    },
    {
      "page": "list_family",
      "title": "Classification family list Print a list of all families and the number of classifications in each",
      "topics": [
        "ListFamily",
        "list_family"
      ]
    },
    {
      "page": "list_klass",
      "title": "Classification list Get a full list of all classifications and codelists",
      "topics": [
        "ListKlass",
        "list_klass"
      ]
    },
    {
      "page": "search_klass",
      "title": "Search Klass",
      "topics": [
        "SearchKlass",
        "search_klass"
      ]
    },
    {
      "page": "update_klass",
      "title": "Update multiple Klass codes to a desired date.",
      "topics": [
        "update_klass"
      ]
    },
    {
      "page": "update_klass_node",
      "title": "Given a node and a graph, find the node at the end of a sequence of changes.",
      "topics": [
        "update_klass_node"
      ]
    }
  ],
  "_readme": "https://github.com/statisticsnorway/ssb-klassr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "BH",
    "cli",
    "cpp11",
    "curl",
    "glue",
    "httr",
    "igraph",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mime",
    "NLP",
    "openssl",
    "pkgconfig",
    "R6",
    "Rcpp",
    "rlang",
    "slam",
    "sys",
    "tm",
    "vctrs",
    "xml2"
  ],
  "_score": 4.9661417327390325,
  "_indexed": true,
  "_nocasepkg": "klassr",
  "_universes": [
    "statisticsnorway"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-15T15:49:06.000Z",
      "distro": "noble",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "3173392b1013b8f5f28ae9916a26d367e930140341806f055350c1a2efc1177c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-15T15:48:59.000Z",
      "distro": "noble",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "93aa296f8182c63551ae40d50994437af8e3ae3c8f2d627af5f2610f753bb060",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-15T15:48:45.000Z",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "a744194591663bd86db15ccd57ef1dc157b4c5b6dad23ecab3043007b31858eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-15T15:48:28.000Z",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "52a5fe80c1abbb8a1a23be58a06921f3d0e1f353766e660464b6fd168c3aefc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.6",
      "date": "2026-06-15T15:48:50.000Z",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "6c7c15ea37b59137a0ad0ab89c30345e18beca78862015e6f0ecbb0c190a7dbe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-15T15:49:00.000Z",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "11f96e5e9754bd061257b0a9031a74b819aa8ce9b16af4769edaf7b00bea09c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-15T15:48:24.000Z",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "4aa0716817f32de38d53b33341d356aef8e769afde1cf7bae8573cb0fc669263",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-15T15:48:10.000Z",
      "commit": "f05cb9998173a559ec112ea483d2713d9d41e181",
      "fileid": "a3943fb85607e76ea864edfc6a027ff1998696c6f1c75deaa55766bf10369b6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/27558025134"
    }
  ]
}