{
  "_id": "6a156d60acfb0bcc41d64382",
  "Package": "sdtmval",
  "Title": "Validate SDTM Domains",
  "Version": "0.4.1",
  "Authors@R": "person(\"Stephen\", \"Knapp\",\nemail = \"stephen@knappconsultingllc.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-5101-4555\"))",
  "Description": "Provides a set of tools to assist statistical programmers\nin validating Study Data Tabulation Model (SDTM) domain data\nsets. Statistical programmers are required to validate that a\nSDTM data set domain has been programmed correctly, per the\nSDTM Implementation Guide (SDTMIG) by 'CDISC'\n(<https://www.cdisc.org/standards/foundational/sdtmig>), study\nspecification, and study protocol using a process called double\nprogramming. Double programming involves two different\nprogrammers independently converting the raw electronic data\ncut (EDC) data into a SDTM domain data table and comparing\ntheir results to ensure accurate standardization of the data.\nOne of these attempts is termed 'production' and the other\n'validation'. Generally, production runs are the official\nprograms for submittals and these are written in 'SAS'.\nValidation runs can be programmed in another language, in this\ncase 'R'.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "URL": "https://github.com/skgithub14/sdtmval,\nhttps://skgithub14.github.io/sdtmval/",
  "BugReports": "https://github.com/skgithub14/sdtmval/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://skgithub14.r-universe.dev",
  "Date/Publication": "2023-10-20 16:10:49 UTC",
  "RemoteUrl": "https://github.com/skgithub14/sdtmval",
  "RemoteRef": "HEAD",
  "RemoteSha": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 09:49:13 UTC",
    "User": "root"
  },
  "Author": "Stephen Knapp [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-5101-4555>)",
  "Maintainer": "Stephen Knapp <stephen@knappconsultingllc.com>",
  "MD5sum": "46828e3a08d118af7c823caa99d98022",
  "_user": "skgithub14",
  "_type": "src",
  "_file": "sdtmval_0.4.1.tar.gz",
  "_fileid": "2e0b357753e1e02028761bfe8c3dc4baed30156e7dd603bccacec835b87aeab8",
  "_filesize": 239520,
  "_sha256": "2e0b357753e1e02028761bfe8c3dc4baed30156e7dd603bccacec835b87aeab8",
  "_created": "2026-05-26T09:49:13.000Z",
  "_published": "2026-05-26T09:52:32.034Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77849249629,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213981334"
    },
    {
      "job": 77849249616,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213986518"
    },
    {
      "job": 77849249775,
      "time": 162,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213983496"
    },
    {
      "job": 77849249657,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213978178"
    },
    {
      "job": 77848631148,
      "time": 221,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213939267"
    },
    {
      "job": 77849249607,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213980902"
    },
    {
      "job": 77849249612,
      "time": 78,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213968541"
    },
    {
      "job": 77849249687,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213965426"
    },
    {
      "job": 77849249655,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213980679"
    }
  ],
  "_buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/skgithub14/sdtmval",
  "_commit": {
    "id": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
    "author": "Stephen Knapp <stephen@knappconsultingllc.com>",
    "committer": "Stephen Knapp <stephen@knappconsultingllc.com>",
    "message": "updated NEWS.md with v4.0.1 changes\n",
    "time": 1697818249
  },
  "_maintainer": {
    "name": "Stephen Knapp",
    "email": "stephen@knappconsultingllc.com",
    "login": "skgithub14",
    "description": "Data scientist with expertise in data pipelines, statistical analysis, data analytics and R Shiny.",
    "uuid": 61516944,
    "orcid": "0000-0002-5101-4555"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "skgithub14",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "skgithub14",
      "count": 69,
      "uuid": 61516944
    }
  ],
  "_userbio": {
    "uuid": 61516944,
    "type": "user",
    "name": "Stephen Knapp",
    "description": "Data scientist with expertise in data pipelines, statistical analysis, data analytics and R Shiny."
  },
  "_downloads": {
    "count": 165,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sdtmval"
  },
  "_devurl": "https://github.com/skgithub14/sdtmval",
  "_pkgdown": "https://skgithub14.github.io/sdtmval/",
  "_searchresults": 7,
  "_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/sdtmval.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/skgithub14/sdtmval",
  "_realowner": "skgithub14",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.1",
      "date": "2023-10-23"
    }
  ],
  "_exports": [
    "%>%",
    "assign_meta_data",
    "assign_SEQ",
    "calc_DY",
    "convert_to_script",
    "create_BLFL",
    "create_EPOCH",
    "create_STAT",
    "format_chars_and_dates",
    "get_codelist",
    "get_data_spec",
    "get_key_vars",
    "impute_pdates",
    "read_edc_tbls",
    "read_sdtm_tbls",
    "reshape_adates",
    "reshape_pdates",
    "trim_and_make_blanks_NA",
    "trim_dates",
    "write_sessionInfo",
    "write_tbl_to_xpt"
  ],
  "_datasets": [
    {
      "name": "dm",
      "title": "Example SDTM Domain 'DM'",
      "object": "dm",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "USUBJID",
        "RFSTDTC",
        "RFXSTDTC",
        "RFXENDTC"
      ],
      "rows": 2,
      "table": true,
      "tojson": true
    },
    {
      "name": "edc_xx",
      "title": "Example EDC data for form/table 'XX'",
      "object": "edc_xx",
      "class": [
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "VISIT",
        "XXTESTCD",
        "XXORRES"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "spec_codelists",
      "title": "Example 'Codelists' tab from a SDTM specification .xlsx file",
      "object": "spec_codelists",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "Term",
        "Decoded Value"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "spec_datasets",
      "title": "Example 'Datasets' tab from a SDTM specification .xlsx file",
      "object": "spec_datasets",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Dataset",
        "Description",
        "Structure",
        "Key Variables"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "spec_XX",
      "title": "Example domain specific tab from a SDTM specification .xlsx file",
      "object": "spec_XX",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Order",
        "Dataset",
        "Variable",
        "Label",
        "Data Type",
        "Length"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "vd",
      "title": "Example EDC data for form/table 'VD'",
      "object": "vd",
      "class": [
        "data.frame"
      ],
      "fields": [
        "USUBJID",
        "VISIT",
        "VISITDTC"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    },
    {
      "name": "xx_no_meta_data",
      "title": "Example SDTM domain table XX without meta data",
      "object": "xx_no_meta_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "XXSEQ",
        "XXTESTCD",
        "XXTEST",
        "XXORRES",
        "XXBLFL",
        "VISIT",
        "EPOCH",
        "XXDTC",
        "XXDY"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "assign_meta_data",
      "title": "Assign meta data to columns in a SDTM table based on specification file",
      "topics": [
        "assign_meta_data"
      ]
    },
    {
      "page": "assign_SEQ",
      "title": "Assign SEQ numbers for a SDTM data set",
      "topics": [
        "assign_SEQ"
      ]
    },
    {
      "page": "calc_DY",
      "title": "Calculate a DY variable (day of study)",
      "topics": [
        "calc_DY"
      ]
    },
    {
      "page": "convert_to_script",
      "title": "Convert SDTM QC code from a .Rmd file to .R script",
      "topics": [
        "convert_to_script"
      ]
    },
    {
      "page": "create_BLFL",
      "title": "Create a BLFL column",
      "topics": [
        "create_BLFL"
      ]
    },
    {
      "page": "create_EPOCH",
      "title": "Create the EPOCH variable",
      "topics": [
        "create_EPOCH"
      ]
    },
    {
      "page": "create_STAT",
      "title": "Assign STAT 'NOT DONE' status",
      "topics": [
        "create_STAT"
      ]
    },
    {
      "page": "dm",
      "title": "Example SDTM Domain 'DM'",
      "topics": [
        "dm"
      ]
    },
    {
      "page": "edc_xx",
      "title": "Example EDC data for form/table 'XX'",
      "topics": [
        "edc_xx"
      ]
    },
    {
      "page": "format_chars_and_dates",
      "title": "Format date and character columns for SDTM tables",
      "topics": [
        "format_chars_and_dates"
      ]
    },
    {
      "page": "get_codelist",
      "title": "Read in the code list from the specification for a specific domain",
      "topics": [
        "get_codelist"
      ]
    },
    {
      "page": "get_data_spec",
      "title": "Read in the variable specification sheet for a SDTM data set",
      "topics": [
        "get_data_spec"
      ]
    },
    {
      "page": "get_key_vars",
      "title": "Read in the key variables for a SDTM domain",
      "topics": [
        "get_key_vars"
      ]
    },
    {
      "page": "impute_pdates",
      "title": "Impute start or end dates",
      "topics": [
        "impute_pdates"
      ]
    },
    {
      "page": "read_edc_tbls",
      "title": "Import EDC data tables",
      "topics": [
        "read_edc_tbls"
      ]
    },
    {
      "page": "read_sdtm_tbls",
      "title": "Import SDTM data tables",
      "topics": [
        "read_sdtm_tbls"
      ]
    },
    {
      "page": "reshape_adates",
      "title": "Reshape format of all dates (full and partial)",
      "topics": [
        "reshape_adates"
      ]
    },
    {
      "page": "reshape_pdates",
      "title": "Reshape format of partial dates",
      "topics": [
        "reshape_pdates"
      ]
    },
    {
      "page": "spec_codelists",
      "title": "Example 'Codelists' tab from a SDTM specification .xlsx file",
      "topics": [
        "spec_codelists"
      ]
    },
    {
      "page": "spec_datasets",
      "title": "Example 'Datasets' tab from a SDTM specification .xlsx file",
      "topics": [
        "spec_datasets"
      ]
    },
    {
      "page": "spec_XX",
      "title": "Example domain specific tab from a SDTM specification .xlsx file",
      "topics": [
        "spec_XX"
      ]
    },
    {
      "page": "trim_and_make_blanks_NA",
      "title": "Trim white space and make blanks NA",
      "topics": [
        "trim_and_make_blanks_NA"
      ]
    },
    {
      "page": "trim_dates",
      "title": "Trim unknown elements in partial dates",
      "topics": [
        "trim_dates"
      ]
    },
    {
      "page": "vd",
      "title": "Example EDC data for form/table 'VD'",
      "topics": [
        "vd"
      ]
    },
    {
      "page": "write_sessionInfo",
      "title": "Write R session information for a script to a .txt file",
      "topics": [
        "write_sessionInfo"
      ]
    },
    {
      "page": "write_tbl_to_xpt",
      "title": "Write a SAS transport file (.xpt)",
      "topics": [
        "write_tbl_to_xpt"
      ]
    },
    {
      "page": "xx_no_meta_data",
      "title": "Example SDTM domain table XX without meta data",
      "topics": [
        "xx_no_meta_data"
      ]
    }
  ],
  "_pkglogo": "https://github.com/skgithub14/sdtmval/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/skgithub14/sdtmval/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cellranger",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "evaluate",
    "forcats",
    "generics",
    "glue",
    "haven",
    "highr",
    "hms",
    "knitr",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "dates.Rmd",
      "filename": "dates.html",
      "title": "Dates",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-08-08 13:21:11",
      "modified": "2023-08-08 14:16:16",
      "commits": 2
    }
  ],
  "_score": 4.698970004336019,
  "_indexed": true,
  "_nocasepkg": "sdtmval",
  "_universes": [
    "skgithub14"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-26T09:51:11.000Z",
      "distro": "noble",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "5db986b1cced3c7c69bce9a977a9a5c0664d069510d8588237572ecf5e6a15c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-26T09:51:27.000Z",
      "distro": "noble",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "ec11d6f18485ff317a624e45f215eb2dc4f7fb035c32e8ad813a1e317c13cfd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-26T09:51:18.000Z",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "0633e403974c379b3ac4bc8cfa7fd80c722f0860d6bbf3a3dd8828e971cd7f21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-26T09:51:08.000Z",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "5192f5a8b1a4ec50264cdc615f17537f4084c1c19fcda505198a202a07f74c90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-05-26T09:51:26.000Z",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "bd65610d688bb4a7932658424abe2a0e7b4e2966c0f7b2d9f1126e52ebfedf70",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-26T09:50:24.000Z",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "b614e9a80b0e300f8cbaf8dbc0dd258303c36cd8de08b61a97cb940f7bca0d8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-26T09:50:23.000Z",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "2ae73e53681bfd169ac6124769543e95e0a0b913708d14a4e9f0a68fe8a72363",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-26T09:51:07.000Z",
      "commit": "271b1b94d0517ed67b4a5aaa0a1cb6eb3cb3835a",
      "fileid": "d063354c0983b393e5c783284bd3ac8868786adbcc9ff08f60095c1dd8c449ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skgithub14/actions/runs/26444901386"
    }
  ]
}