{
  "_id": "6a1eec37b401979e734124f3",
  "Package": "recodeflow",
  "Type": "Package",
  "Title": "Contains functions to interface with variable details sheets,\nincluding recoding variables and converting them to PMML",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(\"Yulric\", \"Sequeira\", email = \"ysequeira@ohri.ca\", role = c(\"aut\", \"cre\")),\nperson(\"Luke\", \"Bailey\", role = c(\"aut\")),\nperson(\"Rostyslav\", role = c(\"aut\"))\n)",
  "Maintainer": "Yulric Sequeria <ysequeira@ohri.ca>",
  "Description": "Recode and harmonize data using variable and details\nsheets.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/Big-Life-Lab/recodeflow",
  "BugReports": "https://github.com/Big-Life-Lab/recodeflow/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://big-life-lab.r-universe.dev",
  "Date/Publication": "2025-04-23 17:03:17 UTC",
  "RemoteUrl": "https://github.com/big-life-lab/recodeflow",
  "RemoteRef": "HEAD",
  "RemoteSha": "b304ddc737fc8736b1fe730abb668d1c36867481",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 09:30:13 UTC",
    "User": "root"
  },
  "Author": "Yulric Sequeira [aut, cre],\nLuke Bailey [aut],\nRostyslav [aut]",
  "MD5sum": "c7580284f6c955b57fa4422e0021f7c8",
  "_user": "big-life-lab",
  "_type": "src",
  "_file": "recodeflow_0.1.2.tar.gz",
  "_fileid": "d548a3633682689c04ac394d5d78776c5017c2625b27b244187447b67c29054d",
  "_filesize": 368512,
  "_sha256": "d548a3633682689c04ac394d5d78776c5017c2625b27b244187447b67c29054d",
  "_created": "2026-05-19T09:30:13.000Z",
  "_published": "2026-06-02T14:44:07.074Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79098165934,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7079826270"
    },
    {
      "job": 79098166638,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7079823309"
    },
    {
      "job": 79098166236,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7079823979"
    },
    {
      "job": 79098166130,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7079825038"
    },
    {
      "job": 79098165023,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079775348"
    },
    {
      "job": 79098165153,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361026746"
    },
    {
      "job": 79098166589,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7079816676"
    },
    {
      "job": 79098167163,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7079810560"
    },
    {
      "job": 79098166521,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7079813265"
    }
  ],
  "_buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/big-life-lab/recodeflow",
  "_commit": {
    "id": "b304ddc737fc8736b1fe730abb668d1c36867481",
    "author": "zargot <zargot@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "add bug-report issue template (#58)\n\n",
    "time": 1745427797
  },
  "_maintainer": {
    "name": "Yulric Sequeria",
    "email": "ysequeira@ohri.ca"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "sjlabelled",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "big-life-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "yulric",
      "count": 93,
      "uuid": 5900191
    },
    {
      "user": "lurn",
      "count": 92,
      "uuid": 4240878
    },
    {
      "user": "rvyuha",
      "count": 43,
      "uuid": 16597423
    },
    {
      "user": "reikookamoto",
      "count": 26,
      "uuid": 54685414
    },
    {
      "user": "cbjerke",
      "count": 11,
      "uuid": 18168607
    },
    {
      "user": "dougmanuel",
      "count": 7,
      "uuid": 13246138
    },
    {
      "user": "wyusuf068",
      "count": 5,
      "uuid": 46528519
    },
    {
      "user": "rhan43",
      "count": 4,
      "uuid": 45084701
    },
    {
      "user": "zargot",
      "count": 1,
      "uuid": 3369031
    }
  ],
  "_userbio": {
    "uuid": 43787310,
    "type": "organization",
    "name": "Big Life Lab",
    "description": "https://projectbiglife.ca"
  },
  "_downloads": {
    "count": 409,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/recodeflow"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/big-life-lab/recodeflow",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/recodeflow.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/big-life-lab/recodeflow",
  "_realowner": "big-life-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-06-09"
    }
  ],
  "_exports": [
    "get_table_name",
    "is_equal",
    "is_table_feeder_var",
    "rec_with_table",
    "set_data_labels"
  ],
  "_datasets": [
    {
      "name": "pbc",
      "title": "The pbc dataset",
      "object": "pbc",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "status",
        "trt",
        "age",
        "sex",
        "ascites",
        "hepato",
        "spiders",
        "edema",
        "bili",
        "chol",
        "albumin",
        "copper",
        "alk.phos",
        "ast",
        "trig",
        "platelet",
        "protime",
        "stage"
      ],
      "rows": 418,
      "table": true,
      "tojson": true
    },
    {
      "name": "pbc_metadata",
      "title": "Metadata for the pbc dataset using the DCIM standard",
      "object": "pbc_metadata",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "pbc_variable_details",
      "title": "Variable details sheet for the pbc dataset",
      "object": "pbc_variable_details",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "variable",
        "dummyVariable",
        "typeEnd",
        "typeStart",
        "databaseStart",
        "variableStart",
        "variableStartLabel",
        "numValidCat",
        "recEnd",
        "catLabel",
        "catLabelLong",
        "units",
        "recStart",
        "catStartLabel",
        "variableStartShortLabel",
        "notes"
      ],
      "rows": 68,
      "table": true,
      "tojson": true
    },
    {
      "name": "pbc_variables",
      "title": "Variables sheet for the pbc dataset",
      "object": "pbc_variables",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "variable",
        "label",
        "labelLong",
        "subject",
        "section",
        "variableType",
        "databaseStart",
        "units",
        "variableStart",
        "notes",
        "description"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "tester_variable_details",
      "title": "Example variable details sheet for vignettes",
      "object": "tester_variable_details",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "variable",
        "dummyVariable",
        "typeEnd",
        "typeStart",
        "databaseStart",
        "variableStart",
        "variableStartLabel",
        "numValidCat",
        "recEnd",
        "catLabel",
        "catLabelLong",
        "units",
        "recStart",
        "catStartLabel",
        "variableStartShortLabel",
        "notes"
      ],
      "rows": 119,
      "table": true,
      "tojson": true
    },
    {
      "name": "tester_variables",
      "title": "Example variables sheet for vignettes",
      "object": "tester_variables",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "variable",
        "label",
        "labelLong",
        "subject",
        "section",
        "variableType",
        "databaseStart",
        "units",
        "variableStart",
        "notes",
        "description"
      ],
      "rows": 24,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "get_table_name",
      "title": "Returns the name of the table for a table start variable",
      "topics": [
        "get_table_name"
      ]
    },
    {
      "page": "is_equal",
      "title": "Checks whether two values are equal including NA",
      "topics": [
        "is_equal"
      ]
    },
    {
      "page": "label_data",
      "title": "label_data",
      "topics": [
        "label_data"
      ]
    },
    {
      "page": "pbc",
      "title": "The pbc dataset",
      "topics": [
        "pbc"
      ]
    },
    {
      "page": "pbc_metadata",
      "title": "Metadata for the pbc dataset using the DCIM standard",
      "topics": [
        "pbc_metadata"
      ]
    },
    {
      "page": "pbc_variable_details",
      "title": "Variable details sheet for the pbc dataset",
      "topics": [
        "pbc_variable_details"
      ]
    },
    {
      "page": "pbc_variables",
      "title": "Variables sheet for the pbc dataset",
      "topics": [
        "pbc_variables"
      ]
    },
    {
      "page": "rec_with_table",
      "title": "Recode with Table",
      "topics": [
        "rec_with_table"
      ]
    },
    {
      "page": "select_vars_by_role",
      "title": "Vars selected by role",
      "topics": [
        "select_vars_by_role"
      ]
    },
    {
      "page": "set_data_labels",
      "title": "Set Data Labels",
      "topics": [
        "set_data_labels"
      ]
    },
    {
      "page": "tester_variable_details",
      "title": "Example variable details sheet for vignettes",
      "topics": [
        "tester_variable_details"
      ]
    },
    {
      "page": "tester_variables",
      "title": "Example variables sheet for vignettes",
      "topics": [
        "tester_variables"
      ]
    }
  ],
  "_pkglogo": "https://github.com/big-life-lab/recodeflow/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/big-life-lab/recodeflow/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "datawizard",
    "dplyr",
    "forcats",
    "generics",
    "glue",
    "haven",
    "hms",
    "insight",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "sjlabelled",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "derived_variables.Rmd",
      "filename": "derived_variables.html",
      "title": "Derived variables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example of a derived function",
        "1. Create and load a customized function for your derived variables.",
        "2. Add the derived variable to the variable_details and variables worksheets.",
        "3. Recode the derived variable"
      ],
      "created": "2021-04-07 03:16:58",
      "modified": "2024-12-16 19:20:45",
      "commits": 2
    },
    {
      "source": "how_to_install.Rmd",
      "filename": "how_to_install.html",
      "title": "How to install recodeflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install and load recodeflow",
        "Install recodeflow",
        "Load recodeflow",
        "Additional packages"
      ],
      "created": "2021-04-07 03:16:58",
      "modified": "2024-12-16 19:20:45",
      "commits": 3
    },
    {
      "source": "how_to_recode.Rmd",
      "filename": "how_to_recode.html",
      "title": "How to recode variables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1. Recode a single variable from a single dataset",
        "Example 2. Recode a single variable across multiple datasets",
        "Example 3. Recode a single variable, with different categories, from multiple datasets",
        "Option 1: recode category agegrp variable into a common variable for only datasets with the same category responses",
        "Option 2: recode the categorical agegrp variable into a continuous age_cont variable",
        "Option 3: recode the categorical agegrp variable into a harmonized categorical variable",
        "Example 4. Recode multiple variables from multiple datasets",
        "Example 5. Recode all variables in the variables worksheet",
        "Example 6: Add the data origin in combined datasets",
        "Example 7. Recode derived variables"
      ],
      "created": "2021-04-07 03:16:58",
      "modified": "2024-12-16 19:20:45",
      "commits": 3
    },
    {
      "source": "how_to_use_recodeflow_with_your_data.Rmd",
      "filename": "how_to_use_recodeflow_with_your_data.html",
      "title": "How to use recodeflow with your data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example data",
        "How to create the variable_details worksheet",
        "Rows",
        "Columns (14)",
        "variable_details for dervived variables",
        "How to create the variables worksheet variables"
      ],
      "created": "2021-04-07 03:16:58",
      "modified": "2024-12-16 19:20:45",
      "commits": 3
    },
    {
      "source": "missing_data_tagged_na.Rmd",
      "filename": "missing_data_tagged_na.html",
      "title": "How to use tagged_na",
      "engine": "knitr::rmarkdown",
      "headings": [
        "recodeflow approach to coding missing data",
        "Example haven::tagged_na()"
      ],
      "created": "2024-01-03 16:30:37",
      "modified": "2024-01-03 16:30:37",
      "commits": 1
    },
    {
      "source": "rec_with_table.Rmd",
      "filename": "rec_with_table.html",
      "title": "rec_with_table",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is the function rec_with_table?",
        "Output - Warning messages",
        "Output - Notes",
        "Arguments - Required",
        "Arguments - Default"
      ],
      "created": "2021-04-07 03:16:58",
      "modified": "2024-12-16 19:20:45",
      "commits": 3
    },
    {
      "source": "custom-variables.Rmd",
      "filename": "custom-variables.html",
      "title": "Template Variables",
      "author": "Yulric Sequeira",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Working with template variables"
      ],
      "created": "2024-01-04 15:13:40",
      "modified": "2024-12-16 19:20:45",
      "commits": 2
    },
    {
      "source": "variable_details.Rmd",
      "filename": "variable_details.html",
      "title": "variable_details worksheet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Structure of the worksheet variable_details",
        "Naming convention for not applicable and missing values",
        "Rows",
        "Columns",
        "Derived Variables",
        "Tables"
      ],
      "created": "2021-04-07 03:16:58",
      "modified": "2024-12-16 19:20:45",
      "commits": 4
    },
    {
      "source": "variables_sheet.Rmd",
      "filename": "variables_sheet.html",
      "title": "variables worksheet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "How the variables.csv sheet is organized",
        "Derived Variables"
      ],
      "created": "2021-04-07 03:16:58",
      "modified": "2024-12-16 19:20:45",
      "commits": 2
    }
  ],
  "_score": 6.375846436309156,
  "_indexed": true,
  "_nocasepkg": "recodeflow",
  "_universes": [
    "big-life-lab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-19T09:32:32.000Z",
      "distro": "noble",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "0420d9d9d10429cf4de088f159e877c774fac4fab2621c503c66350e069596fc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-19T09:32:26.000Z",
      "distro": "noble",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "c4d4d32a94794a631a36efd5a45d51c9b52cd220489105c7c36d4112a4c2cd36",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-19T09:32:35.000Z",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "2cfc124f6843488635ff0eab92fbef621d006d1bd997703038445ccff6d26a7e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-19T09:32:28.000Z",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "41ce231b5554ec7c5d651173c50b539aa1641833806c750e797500a38372f418",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-19T09:31:59.000Z",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "3d790940411f6456aa52dd67a76257921dd9af9b353a2c970345c98c62422a1b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-19T09:31:39.000Z",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "c45e98e9fa41c74866a8ca373a5d96ed18cb94223be2064b4ad6ecad158f01de",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-19T09:31:50.000Z",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "064e43ea0b2e351e57a637d630c4dbad77b3e5d67fd96cbde9cddecdb63b5dc2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-02T14:43:38.000Z",
      "commit": "b304ddc737fc8736b1fe730abb668d1c36867481",
      "fileid": "5a1e128a7203dc6f137014047d176ae07f09a11b6e8a8a5cfed4dd4fcb24dcc4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/26088436305"
    }
  ]
}