{
  "_id": "6a10688facfb0bcc41ca96a9",
  "Package": "codelist",
  "Type": "Package",
  "Title": "Working with Code Lists",
  "Version": "0.1.0",
  "Authors@R": "person(given = \"Jan\",\nfamily = \"van der Laan\",\nrole = c(\"aut\", \"cre\"),\nemail = \"r@eoos.dds.nl\",\ncomment = c(ORCID = \"0000-0002-0693-1514\"))",
  "Description": "Functions for working with code lists and vectors with\ncodes. These are an alternative for factor that keep track of\nboth the codes and labels. Methods allow for transforming\nbetween codes and labels. Also supports hierarchical code\nlists.",
  "VignetteBuilder": "simplermarkdown",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-08 05:04:59 UTC",
    "User": "root"
  },
  "Author": "Jan van der Laan [aut, cre]\n(<https://orcid.org/0000-0002-0693-1514>)",
  "Maintainer": "Jan van der Laan <r@eoos.dds.nl>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-02-20 18:40:19 UTC",
  "RemoteUrl": "https://github.com/cran/codelist",
  "RemoteRef": "HEAD",
  "RemoteSha": "f4ef2f747a4e3327b971710c50cb994b031e9b63",
  "MD5sum": "9a1a77928b7d2ce6b02f080c0cedc1ef",
  "_user": "cran",
  "_type": "src",
  "_file": "codelist_0.1.0.tar.gz",
  "_fileid": "1e256f4211421174846d84f44f097b4dcab2c8b0574fe57b4881548f820112e5",
  "_filesize": 175496,
  "_sha256": "1e256f4211421174846d84f44f097b4dcab2c8b0574fe57b4881548f820112e5",
  "_created": "2026-05-08T05:04:59.000Z",
  "_published": "2026-05-22T14:30:39.893Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77400402162,
      "time": 101,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6872206478"
    },
    {
      "job": 77400402390,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6872208168"
    },
    {
      "job": 77400402175,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6872185102"
    },
    {
      "job": 77400401795,
      "time": 80,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162998113"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25537788651",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/codelist",
  "_commit": {
    "id": "f4ef2f747a4e3327b971710c50cb994b031e9b63",
    "author": "Jan van der Laan <r@eoos.dds.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1740076819
  },
  "_maintainer": {
    "name": "Jan van der Laan",
    "email": "r@eoos.dds.nl",
    "orcid": "0000-0002-0693-1514"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "simplermarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 207,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/codelist"
  },
  "_searchresults": 26,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/codelist.html",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-02-20"
    }
  ],
  "_exports": [
    "as.code",
    "as.codelist",
    "as.label",
    "cl",
    "cl_filter",
    "cl_is_valid",
    "cl_levels",
    "cl_locale",
    "cl_nlevels",
    "code",
    "codelist",
    "codes",
    "in_labels",
    "is.code",
    "is.codelist",
    "is.missing",
    "labels.code",
    "levelcast",
    "to_codes",
    "to_labels"
  ],
  "_datasets": [
    {
      "name": "objectcodes",
      "title": "Example code list for object types",
      "object": "objectcodes",
      "file": "objectcodes.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code",
        "label",
        "parent",
        "locale",
        "missing"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "objectsales",
      "title": "Example data set to demonstrate working with code lists",
      "object": "objectsales",
      "file": "objectsales.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "product",
        "unitprice",
        "quantity",
        "totalprice"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as.code",
      "title": "Convert object to code",
      "topics": [
        "as.code",
        "as.code.code",
        "as.code.default"
      ]
    },
    {
      "page": "as.codelist",
      "title": "Convert an object to a codelist object",
      "topics": [
        "as.codelist",
        "as.codelist.codelist",
        "as.codelist.data.frame"
      ]
    },
    {
      "page": "as.label",
      "title": "Label character vector as label to use in comparisons with a code vector",
      "topics": [
        "as.label"
      ]
    },
    {
      "page": "cl",
      "title": "Get the code list associated with the object",
      "topics": [
        "cl",
        "cl.code",
        "cl.default"
      ]
    },
    {
      "page": "cl_filter",
      "title": "Filter a code list",
      "topics": [
        "cl_filter"
      ]
    },
    {
      "page": "cl_is_valid",
      "title": "Check if the codelist is valid",
      "topics": [
        "cl_is_valid"
      ]
    },
    {
      "page": "cl_levels",
      "title": "Get the hierarchical level for each code in a code list",
      "topics": [
        "cl_levels"
      ]
    },
    {
      "page": "cl_locale",
      "title": "Get the locale to use with the codelist",
      "topics": [
        "cl_locale"
      ]
    },
    {
      "page": "cl_nlevels",
      "title": "Get the number of hierarchical levels in a code list",
      "topics": [
        "cl_nlevels"
      ]
    },
    {
      "page": "code",
      "title": "Code vector",
      "topics": [
        "code"
      ]
    },
    {
      "page": "codelist",
      "title": "Create a codelist object",
      "topics": [
        "codelist"
      ]
    },
    {
      "page": "codes",
      "title": "Get the codes belonging to given labels",
      "topics": [
        "codes",
        "codes.code",
        "codes.default",
        "to_codes"
      ]
    },
    {
      "page": "format.code",
      "title": "Format a code object for pretty printing",
      "topics": [
        "format.code"
      ]
    },
    {
      "page": "in_labels",
      "title": "Match codes based on label",
      "topics": [
        "in_labels"
      ]
    },
    {
      "page": "is.code",
      "title": "Check if object is a code",
      "topics": [
        "is.code"
      ]
    },
    {
      "page": "is.codelist",
      "title": "Check if an object is a Code List",
      "topics": [
        "is.codelist"
      ]
    },
    {
      "page": "is.missing",
      "title": "Find out which elements of a vector have missing values",
      "topics": [
        "is.missing"
      ]
    },
    {
      "page": "labels",
      "title": "Convert vector with codes to factor using a code list",
      "topics": [
        "labels.code",
        "to_labels"
      ]
    },
    {
      "page": "levelcast",
      "title": "Recode codes to a higher level in a hierarchy",
      "topics": [
        "levelcast"
      ]
    },
    {
      "page": "objectcodes",
      "title": "Example code list for object types",
      "topics": [
        "objectcodes"
      ]
    },
    {
      "page": "objectsales",
      "title": "Example data set to demonstrate working with code lists",
      "topics": [
        "objectsales"
      ]
    }
  ],
  "_readme": "https://github.com/cran/codelist/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "introduction.md",
      "filename": "introduction.html",
      "title": "Introduction to working with code lists",
      "engine": "simplermarkdown::mdweave_to_html",
      "headings": [
        "title: Introduction to working with code listsauthor: Jan van der Laancss: \"style.css\"",
        "Locale",
        "Looking up codes based on label",
        "Assignment of codes",
        "Hierarchies",
        "Safety"
      ],
      "created": "2025-02-20 18:40:19",
      "modified": "2025-02-20 18:40:19",
      "commits": 1
    }
  ],
  "_score": 3.113943352306837,
  "_indexed": true,
  "_nocasepkg": "codelist",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-08T05:06:49.000Z",
      "distro": "noble",
      "commit": "f4ef2f747a4e3327b971710c50cb994b031e9b63",
      "fileid": "51cab0a60dc1e31b48633b72fbfec3f7e98697817ac0151a67bd55c556263bba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25537788651"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-08T05:06:55.000Z",
      "distro": "noble",
      "commit": "f4ef2f747a4e3327b971710c50cb994b031e9b63",
      "fileid": "570484e30aa6e415a3fef6fe841705ecd5310877ea7bb5429fd3b400dce9d677",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25537788651"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T14:30:28.000Z",
      "commit": "f4ef2f747a4e3327b971710c50cb994b031e9b63",
      "fileid": "c8d7834d1f14eb4c8dd6160507ab6c0027e2af75f0bb9fc5f81e16cfe99082c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25537788651"
    }
  ]
}