{
  "_id": "6ac77020de46216d5edcfdd9",
  "Package": "labelmachine",
  "Title": "Make Labeling of R Data Sets Easy",
  "Version": "1.0.0",
  "Authors@R": "person(given = \"Adrian\", family = \"Maldet\", role = c(\"aut\", \"cre\"), email = \"maldet@posteo.at\")",
  "Description": "Assign meaningful labels to data frame columns.\n'labelmachine' manages your label assignment rules in 'yaml'\nfiles and makes it easy to use the same labels in multiple\nprojects.",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "6.1.1",
  "License": "GPL-3",
  "URL": "https://a-maldet.github.io/labelmachine,\nhttps://github.com/a-maldet/labelmachine",
  "BugReports": "https://github.com/a-maldet/labelmachine/issues",
  "Collate": "'composerr.R' 'imports.R' 'utilities.R' 'lama_dictionary.R'\n'lama_merge.R' 'lama_mutate.R' 'lama_read.R' 'lama_select.R'\n'lama_rename.R' 'lama_translate.R' 'lama_translate_all.R'\n'lama_write.R' 'lappli.R'",
  "Repository": "https://a-maldet.r-universe.dev",
  "Date/Publication": "2019-10-08 08:58:09 UTC",
  "RemoteUrl": "https://github.com/a-maldet/labelmachine",
  "RemoteRef": "HEAD",
  "RemoteSha": "18fc739c5f69a3a69589746b4c44df16d219bd65",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 09:33:22 UTC",
    "User": "root"
  },
  "Author": "Adrian Maldet [aut, cre]",
  "Maintainer": "Adrian Maldet <maldet@posteo.at>",
  "_user": "a-maldet",
  "_type": "src",
  "_file": "labelmachine_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6f3c00ac4801d9b3009f4a18831578bee092646ee9fd035ac13f72174c281d0f",
  "_filesize": 415765,
  "_sha256": "6f3c00ac4801d9b3009f4a18831578bee092646ee9fd035ac13f72174c281d0f",
  "_expires": "2027-01-16T10:27:42.000Z",
  "_created": "2026-10-08T09:33:22.000Z",
  "_published": "2026-10-08T10:27:43.877Z",
  "_buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113245571280,
      "time": 108,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11540433399"
    },
    {
      "job": 113245571376,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540478185"
    },
    {
      "job": 113245571290,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11542632360"
    },
    {
      "job": 113245571378,
      "time": 204,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11542429923"
    },
    {
      "job": 113244425404,
      "time": 169,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540179111"
    },
    {
      "job": 113245571309,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11540297787"
    },
    {
      "job": 113245571457,
      "time": 85,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11541265937"
    },
    {
      "job": 113245571314,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11540741786"
    },
    {
      "job": 113245571366,
      "time": 72,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540751714"
    }
  ],
  "_upstream": "https://github.com/a-maldet/labelmachine",
  "_commit": {
    "id": "18fc739c5f69a3a69589746b4c44df16d219bd65",
    "author": "Adrian Maldet - B <maldet@xlwt0006.statistik.local>",
    "committer": "Adrian Maldet - B <maldet@xlwt0006.statistik.local>",
    "message": "Remove examples from unexported functions\n",
    "time": 1570525089
  },
  "_maintainer": {
    "name": "Adrian Maldet",
    "email": "maldet@posteo.at",
    "login": "a-maldet",
    "description": "Studied Mathematics in Leopold-Franzens-Univ. (Innsbruck, AUT) \nTeaching at Univ.\nWeb-Developer (Nodejs, Angular)\nStatistician at National Statistics Inst.",
    "uuid": 17334467
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "yaml",
      "version": ">= 2.2.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "version": ">= 6.1.1",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "a-maldet",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "manuelreif",
      "count": 1,
      "uuid": 1880318
    }
  ],
  "_userbio": {
    "uuid": 17334467,
    "type": "user",
    "name": "a-maldet",
    "followers": 7,
    "description": "Studied Mathematics in Leopold-Franzens-Univ. (Innsbruck, AUT) \r\nTeaching at Univ.\r\nWeb-Developer (Nodejs, Angular)\r\nStatistician at National Statistics Inst."
  },
  "_downloads": {
    "count": 263,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/labelmachine"
  },
  "_devurl": "https://github.com/a-maldet/labelmachine",
  "_pkgdown": "https://a-maldet.github.io/labelmachine",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/labelmachine.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/a-maldet/labelmachine",
  "_realowner": "a-maldet",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2019-10-11"
    }
  ],
  "_exports": [
    "as.lama_dictionary",
    "is.lama_dictionary",
    "lama_get",
    "lama_get_",
    "lama_merge",
    "lama_mutate",
    "lama_mutate_",
    "lama_read",
    "lama_rename",
    "lama_rename_",
    "lama_select",
    "lama_select_",
    "lama_to_factor",
    "lama_to_factor_",
    "lama_to_factor_all",
    "lama_translate",
    "lama_translate_",
    "lama_translate_all",
    "lama_write",
    "lapplI",
    "new_lama_dictionary",
    "sapplI",
    "validate_lama_dictionary"
  ],
  "_help": [
    {
      "page": "as_lama_dictionary",
      "title": "Coerce to a lama_dictionary class object",
      "topics": [
        "as.lama_dictionary",
        "as.lama_dictionary.data.frame",
        "as.lama_dictionary.default",
        "as.lama_dictionary.lama_dictionary",
        "as.lama_dictionary.list"
      ]
    },
    {
      "page": "check_and_translate_all",
      "title": "Check and translate function used by 'lama_translate_all()' and 'lama_to_factor_all()'",
      "topics": [
        "check_and_translate_all"
      ]
    },
    {
      "page": "check_and_translate_df",
      "title": "Checks arguments and translate a data.frame",
      "topics": [
        "check_and_translate_df"
      ]
    },
    {
      "page": "check_and_translate_df_",
      "title": "Checks arguments and translate a data.frame (standard eval)",
      "topics": [
        "check_and_translate_df_"
      ]
    },
    {
      "page": "check_and_translate_vector",
      "title": "Checks arguments and translate a vector",
      "topics": [
        "check_and_translate_vector"
      ]
    },
    {
      "page": "check_and_translate_vector_",
      "title": "Checks arguments and translate a character vector (standard eval)",
      "topics": [
        "check_and_translate_vector_"
      ]
    },
    {
      "page": "check_arguments",
      "title": "Function that applies some general checks to the arguments of 'lama_translate()' and 'lama_translate_()'",
      "topics": [
        "check_arguments"
      ]
    },
    {
      "page": "check_rename",
      "title": "Function that checks the passed in arguments for 'lama_rename()' and 'lama_rename_()'",
      "topics": [
        "check_rename"
      ]
    },
    {
      "page": "check_select",
      "title": "Function that checks the passed in arguments for 'lama_select()' and 'lama_select_()'",
      "topics": [
        "check_select"
      ]
    },
    {
      "page": "composerr",
      "title": "Compose error handlers (concatenate error messages)",
      "topics": [
        "composerr",
        "composerr_",
        "composerr_parent"
      ]
    },
    {
      "page": "contains_na_escape",
      "title": "Check if a character vector contains NA replacement strings",
      "topics": [
        "contains_na_escape"
      ]
    },
    {
      "page": "dictionary_to_yaml",
      "title": "Transform data structure from lama_dictionary class input format to the yaml format",
      "topics": [
        "dictionary_to_yaml"
      ]
    },
    {
      "page": "escape_to_na",
      "title": "Replace '\"NA_\"' by 'NA'",
      "topics": [
        "escape_to_na"
      ]
    },
    {
      "page": "is_dictionary",
      "title": "Check if an object is a lama_dictionary class object",
      "topics": [
        "is.lama_dictionary"
      ]
    },
    {
      "page": "is.syntactic",
      "title": "Check if a variable name is syntactically valid",
      "topics": [
        "is.syntactic"
      ]
    },
    {
      "page": "lama_get",
      "title": "Retrieve a translation from a lama_dictionary class object",
      "topics": [
        "lama_get",
        "lama_get.lama_dictionary",
        "lama_get_",
        "lama_get_.lama_dictionary"
      ]
    },
    {
      "page": "lama_merge",
      "title": "Merge multiple lama-dictionaries into one",
      "topics": [
        "lama_merge",
        "lama_merge.lama_dictionary"
      ]
    },
    {
      "page": "lama_mutate",
      "title": "Change or append a variable translation to an existing lama_dictionary object",
      "topics": [
        "lama_mutate",
        "lama_mutate.lama_dictionary",
        "lama_mutate_",
        "lama_mutate_.lama_dictionary"
      ]
    },
    {
      "page": "lama_read",
      "title": "Read in a 'yaml' file holding translations for one or multiple variables",
      "topics": [
        "lama_read"
      ]
    },
    {
      "page": "lama_rename",
      "title": "Rename multiple variable translations in a lama_dictionary object",
      "topics": [
        "lama_rename",
        "lama_rename.lama_dictionary",
        "lama_rename_",
        "lama_rename_.lama_dictionary"
      ]
    },
    {
      "page": "lama_select",
      "title": "Select multiple variable translations and create a new lama_dictionary object",
      "topics": [
        "lama_select",
        "lama_select.lama_dictionary",
        "lama_select_",
        "lama_select_.lama_dictionary"
      ]
    },
    {
      "page": "lama_translate",
      "title": "Assign new labels to a variable of a data.frame",
      "topics": [
        "lama_to_factor",
        "lama_to_factor.data.frame",
        "lama_to_factor.default",
        "lama_to_factor_",
        "lama_to_factor_.data.frame",
        "lama_to_factor_.default",
        "lama_translate",
        "lama_translate.data.frame",
        "lama_translate.default",
        "lama_translate_",
        "lama_translate_.data.frame",
        "lama_translate_.default"
      ]
    },
    {
      "page": "lama_translate_all",
      "title": "Assign new labels to all variables of a data.frame",
      "topics": [
        "lama_to_factor_all",
        "lama_to_factor_all.data.frame",
        "lama_translate_all",
        "lama_translate_all.data.frame"
      ]
    },
    {
      "page": "lama_write",
      "title": "Write a 'yaml' file holding translations for one or multiple variables",
      "topics": [
        "lama_write"
      ]
    },
    {
      "page": "lapplI",
      "title": "Improve 'lapply' and 'sapply' with index",
      "topics": [
        "lapplI",
        "sapplI"
      ]
    },
    {
      "page": "NA_lama_",
      "title": "NA replace string",
      "topics": [
        "NA_lama_"
      ]
    },
    {
      "page": "na_to_escape",
      "title": "Replace 'NA' by '\"NA_\"'",
      "topics": [
        "na_to_escape"
      ]
    },
    {
      "page": "named_lapply",
      "title": "Create a named list with 'lapply' from a character vector",
      "topics": [
        "named_lapply"
      ]
    },
    {
      "page": "new_lama_dictionary",
      "title": "Create a new lama_dictionary class object",
      "topics": [
        "new_lama_dictionary",
        "new_lama_dictionary.character",
        "new_lama_dictionary.default",
        "new_lama_dictionary.list"
      ]
    },
    {
      "page": "print",
      "title": "Print a lama_dictionary class object",
      "topics": [
        "print.lama_dictionary"
      ]
    },
    {
      "page": "rename_translation",
      "title": "Function that actually performs the renaming of the translations",
      "topics": [
        "rename_translation"
      ]
    },
    {
      "page": "stringify",
      "title": "Coerce a vector into a character string (''x1', 'x2', ...')",
      "topics": [
        "stringify"
      ]
    },
    {
      "page": "translate_df",
      "title": "This function relabels several variables in a data.frame",
      "topics": [
        "translate_df"
      ]
    },
    {
      "page": "translate_vector",
      "title": "This function relabels a vector",
      "topics": [
        "translate_vector"
      ]
    },
    {
      "page": "validate_lama_dictionary",
      "title": "Check if an object has a valid lama_dictionary structure",
      "topics": [
        "validate_lama_dictionary"
      ]
    },
    {
      "page": "validate_translation",
      "title": "Check if an object has a valid translation structure",
      "topics": [
        "validate_translation"
      ]
    },
    {
      "page": "yaml_to_dictionary",
      "title": "Transform data structure from yaml format to the lama_dictionary class input format",
      "topics": [
        "yaml_to_dictionary"
      ]
    }
  ],
  "_pkglogo": "https://github.com/a-maldet/labelmachine/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/a-maldet/labelmachine/raw/HEAD/README.md",
  "_rundeps": [
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "alter_dictionaries.Rmd",
      "filename": "alter_dictionaries.html",
      "title": "Altering lama-dictionaries",
      "author": "Adrian Maldet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Rename translations",
        "Select a subset of translations",
        "Alter translations",
        "Merging lama-dictionaries",
        "Further reading"
      ],
      "created": "2019-09-18 17:08:17",
      "modified": "2019-09-20 10:48:38",
      "commits": 2
    },
    {
      "source": "create_dictionaries.Rmd",
      "filename": "create_dictionaries.html",
      "title": "Creating lama-dictionaries",
      "author": "Adrian Maldet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "From scratch",
        "From a list object holding translations",
        "From an existing yaml file",
        "From already existing label assignment rules",
        "Further reading"
      ],
      "created": "2019-09-16 16:00:11",
      "modified": "2019-10-04 20:00:47",
      "commits": 17
    },
    {
      "source": "labelmachine.Rmd",
      "filename": "labelmachine.html",
      "title": "Get started",
      "author": "Adrian Maldet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "The example data frame",
        "Your first lama-dictionary",
        "Translate the data frame columns",
        "Save your lama-dictionary",
        "Further reading"
      ],
      "created": "2019-09-16 16:00:11",
      "modified": "2019-10-04 19:39:26",
      "commits": 11
    },
    {
      "source": "translate.Rmd",
      "filename": "translate.html",
      "title": "Translate variables",
      "author": "Adrian Maldet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The example data frame and lama-dictionary",
        "Translate using non-standard evaluation",
        "Translate using standard evaluation",
        "Translate all possible variables",
        "Translate vectors",
        "Turn labeled variables into factors",
        "Further reading"
      ],
      "created": "2019-09-16 18:50:54",
      "modified": "2019-09-24 12:21:06",
      "commits": 4
    }
  ],
  "_score": 5.146128035678238,
  "_indexed": true,
  "_nocasepkg": "labelmachine",
  "_universes": [
    "a-maldet"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T09:35:16.000Z",
      "distro": "resolute",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/a99546f06d9b6f7e1238550276a2e94c5b994026f5a3f7a18288a1ac70cf6922",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T09:35:17.000Z",
      "distro": "resolute",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/3a39338d0e766b88734777855a13d0e370b83e4b4c86231b8f6d89a5448710f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T10:14:05.000Z",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/95970b0837fedb5b7da5e2e473bcacc623d5540e36f2f8169109a128211b6532",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T10:26:12.000Z",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/a983e38b0e93bd887f12a7375c54f9cb2059c80ec3d0a445726c0471f374699f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-08T09:35:42.000Z",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/788cd48cc0aad46e675e6d891da1e656d9a3c09a4b1fe36f6b5969961929655b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T09:34:45.000Z",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/75c3552c8705a8aaf541cd7a5416252315352b420bbfc5f20d26e935dcf15fb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T09:34:31.000Z",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/650b5abc82118dde4c881bbfbf64d8d09bc63e4326a48ab63184fb215f9cf951",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T09:34:35.000Z",
      "commit": "18fc739c5f69a3a69589746b4c44df16d219bd65",
      "fileid": "https://r2.ropensci.org/53c803d6737e861459b651f1392ee2b1282fa88676c18a94dcb8b57fae4ee72e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/a-maldet/actions/runs/37757116206"
    }
  ]
}