{
  "_id": "6af14c4294cdbf48db2b103f",
  "Package": "declared",
  "Title": "Functions for Declared Missing Values",
  "Version": "0.28",
  "Authors@R": "c(\nperson(\n\"Adrian\", \"Dusa\",\nemail = \"dusa.adrian@unibuc.ro\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3525-9253\")\n)\n)",
  "URL": "https://dusadrian.github.io/declared/,\nhttps://github.com/dusadrian/declared",
  "BugReports": "https://github.com/dusadrian/declared/issues",
  "Description": "A zero dependency package containing functions to declare\nlabels and missing values, coupled with associated functions to\ncreate (weighted) tables of frequencies and various other\nsummary measures. Some of the base functions have been\nrewritten to make use of the specific information about the\nmissing values, most importantly to distinguish between empty\nand declared NA values. Some functions have similar\nfunctionality with the corresponding ones from packages \"haven\"\nand \"labelled\". The aim is to ensure as much compatibility as\npossible with these packages, while offering an alternative in\nthe objects of class \"declared\".",
  "License": "GPL (>= 3)",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://dusadrian.r-universe.dev",
  "Date/Publication": "2026-11-08 19:52:45 UTC",
  "RemoteUrl": "https://github.com/dusadrian/declared",
  "RemoteRef": "HEAD",
  "RemoteSha": "fe5fcce39513afd20901f19549e788f49d66bb34",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-09 04:25:21 UTC",
    "User": "root"
  },
  "Author": "Adrian Dusa [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3525-9253>)",
  "Maintainer": "Adrian Dusa <dusa.adrian@unibuc.ro>",
  "_user": "dusadrian",
  "_type": "src",
  "_file": "declared_0.28.tar.gz",
  "_fileid": "https://r2.ropensci.org/a19a52e9c6836a7e8b9df1875824f2769629fadf13a25dada80c8f9ae0e956c1",
  "_filesize": 256968,
  "_sha256": "a19a52e9c6836a7e8b9df1875824f2769629fadf13a25dada80c8f9ae0e956c1",
  "_expires": "2027-02-17T04:29:52.000Z",
  "_created": "2026-11-09T04:25:21.000Z",
  "_published": "2026-11-09T04:29:54.468Z",
  "_upstream": "https://github.com/dusadrian/declared",
  "_status": "success",
  "_maintainer": {
    "name": "Adrian Dusa",
    "email": "dusa.adrian@unibuc.ro",
    "login": "dusadrian",
    "twitter": "@dusadrian",
    "description": "Sociologist, and R enthusiast",
    "uuid": 915070,
    "orcid": "0000-0002-3525-9253"
  },
  "_jobs": [
    {
      "job": 128979528141,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13649339744"
    },
    {
      "job": 128979528183,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13649173705"
    },
    {
      "job": 128979528177,
      "time": 124,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13650070925"
    },
    {
      "job": 128979528115,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13649319801"
    },
    {
      "job": 128979528186,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13649986365"
    },
    {
      "job": 128979528158,
      "time": 163,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13650150829"
    },
    {
      "job": 128979528112,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13649093784"
    },
    {
      "job": 128979528171,
      "time": 232,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13649668264"
    },
    {
      "job": 128978618502,
      "time": 189,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13649527121"
    },
    {
      "job": 128979528032,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13650320088"
    },
    {
      "job": 128979528139,
      "time": 227,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13649736710"
    },
    {
      "job": 128979528152,
      "time": 149,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13649736567"
    },
    {
      "job": 128979528128,
      "time": 107,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13649801961"
    },
    {
      "job": 128979528193,
      "time": 228,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13649678049"
    },
    {
      "job": 128979528130,
      "time": 110,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13649652866"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241",
  "_commit": {
    "id": "fe5fcce39513afd20901f19549e788f49d66bb34",
    "author": "Adrian Dușa <dusa.adrian@gmail.com>",
    "committer": "Adrian Dușa <dusa.adrian@gmail.com>",
    "message": "CRAN version 0.28\n",
    "time": 1794167565
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "admisc",
      "version": "> 0.31",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "labelled",
      "role": "Suggests"
    },
    {
      "package": "memisc",
      "role": "Suggests"
    },
    {
      "package": "pillar",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "vctrs",
      "role": "Suggests"
    },
    {
      "package": "vroom",
      "role": "Suggests"
    }
  ],
  "_owner": "dusadrian",
  "_selfowned": true,
  "_usedby": 9,
  "_updates": [
    {
      "week": "2025-45",
      "n": 9
    },
    {
      "week": "2025-46",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 5
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 12
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 3
    },
    {
      "week": "2026-25",
      "n": 3
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 10
    },
    {
      "week": "2026-33",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 4
    },
    {
      "week": "2026-45",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "dusadrian",
      "count": 455,
      "uuid": 915070
    },
    {
      "user": "antaldaniel",
      "count": 6,
      "uuid": 11824944
    },
    {
      "user": "michaelchirico",
      "count": 2,
      "uuid": 7606389
    },
    {
      "user": "khusmann",
      "count": 1,
      "uuid": 167160
    }
  ],
  "_userbio": {
    "uuid": 915070,
    "type": "user",
    "name": "Adrian Dușa",
    "followers": 33,
    "description": "Sociologist, and R enthusiast"
  },
  "_downloads": {
    "count": 6115,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/declared"
  },
  "_devurl": "https://github.com/dusadrian/declared",
  "_pkgdown": "https://dusadrian.github.io/declared/",
  "_searchresults": 53,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/declared.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/dusadrian/declared",
  "_realowner": "dusadrian",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5",
      "date": "2021-06-16"
    },
    {
      "version": "0.6",
      "date": "2021-08-18"
    },
    {
      "version": "0.7",
      "date": "2021-09-02"
    },
    {
      "version": "0.8",
      "date": "2022-01-11"
    },
    {
      "version": "0.9",
      "date": "2022-02-11"
    },
    {
      "version": "0.10",
      "date": "2022-02-22"
    },
    {
      "version": "0.11",
      "date": "2022-03-03"
    },
    {
      "version": "0.12",
      "date": "2022-03-14"
    },
    {
      "version": "0.13",
      "date": "2022-04-03"
    },
    {
      "version": "0.15",
      "date": "2022-04-13"
    },
    {
      "version": "0.16",
      "date": "2022-05-13"
    },
    {
      "version": "0.17",
      "date": "2022-06-20"
    },
    {
      "version": "0.18",
      "date": "2022-09-29"
    },
    {
      "version": "0.19",
      "date": "2022-10-01"
    },
    {
      "version": "0.20",
      "date": "2023-03-03"
    },
    {
      "version": "0.21",
      "date": "2023-05-16"
    },
    {
      "version": "0.22",
      "date": "2023-07-10"
    },
    {
      "version": "0.23",
      "date": "2023-10-01"
    },
    {
      "version": "0.24",
      "date": "2023-12-07"
    },
    {
      "version": "0.25",
      "date": "2024-09-08"
    },
    {
      "version": "0.26",
      "date": "2026-04-02"
    },
    {
      "version": "0.27",
      "date": "2026-08-22"
    },
    {
      "version": "0.28",
      "date": "2026-11-08"
    }
  ],
  "_exports": [
    "anyNAdeclared",
    "anyNAempty",
    "anyTagged_",
    "as.declared",
    "as.haven",
    "declared",
    "direct_declared",
    "drop_na",
    "format_declared",
    "getTag_",
    "hasTag_",
    "is.declared",
    "is.empty",
    "label",
    "label<-",
    "labels<-",
    "makeTag_",
    "measurement",
    "measurement<-",
    "missing_range",
    "missing_range<-",
    "missing_values",
    "missing_values<-",
    "names_values",
    "order_declared",
    "undeclare",
    "valid_na_index",
    "value_labels",
    "variable_label",
    "w_fivenum",
    "w_IQR",
    "w_mean",
    "w_median",
    "w_mode",
    "w_quantile",
    "w_sd",
    "w_standardize",
    "w_summary",
    "w_table",
    "w_var",
    "wfivenum",
    "wIQR",
    "wmean",
    "wmeasures",
    "wmedian",
    "wmode",
    "wquantile",
    "wsd",
    "wstandardize",
    "wsummary",
    "wtable",
    "wvar"
  ],
  "_help": [
    {
      "page": "declared",
      "title": "Labelled vectors with declared missing values",
      "topics": [
        "anyNAdeclared",
        "as.declared",
        "declared",
        "is.declared"
      ]
    },
    {
      "page": "as.haven",
      "title": "Coerce to haven / labelled objects",
      "topics": [
        "as.haven"
      ]
    },
    {
      "page": "declared_package",
      "title": "Functions for Declared Missing Values",
      "topics": [
        "declared_package"
      ]
    },
    {
      "page": "drop_undeclare",
      "title": "Drop information / undeclare labelled objects",
      "concept": [
        "labelling functions"
      ],
      "topics": [
        "drop_na",
        "drop_undeclare",
        "undeclare"
      ]
    },
    {
      "page": "is.empty",
      "title": "Test the presence of empty (undeclared) missing values",
      "topics": [
        "anyNAempty",
        "is.empty"
      ]
    },
    {
      "page": "labels",
      "title": "Get / Declare value labels",
      "concept": [
        "labelling functions"
      ],
      "topics": [
        "label",
        "label<-",
        "labels",
        "labels<-"
      ]
    },
    {
      "page": "measurement",
      "title": "Get / Set measurement levels for declared objects",
      "concept": [
        "labelling functions"
      ],
      "topics": [
        "measurement",
        "measurement<-"
      ]
    },
    {
      "page": "missing_values",
      "title": "Get / Declare missing values",
      "topics": [
        "missing_range",
        "missing_range<-",
        "missing_values",
        "missing_values<-"
      ]
    },
    {
      "page": "valid_na_index",
      "title": "Validate the declared missing values index",
      "topics": [
        "valid_na_index"
      ]
    },
    {
      "page": "weighted",
      "title": "Compute weighted summaries for declared objects",
      "topics": [
        "weighted",
        "wfivenum",
        "wIQR",
        "wmean",
        "wmeasures",
        "wmedian",
        "wmode",
        "wquantile",
        "wsd",
        "wstandardize",
        "wsummary",
        "wtable",
        "wvar"
      ]
    }
  ],
  "_readme": "https://github.com/dusadrian/declared/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "a_Declared_solution.Rmd",
      "filename": "a_Declared_solution.html",
      "title": "a. Motivation for the declared package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The declared solution"
      ],
      "created": "2022-08-17 19:48:38",
      "modified": "2024-09-05 18:56:23",
      "commits": 17
    },
    {
      "source": "b_Added_value.Rmd",
      "filename": "b_Added_value.html",
      "title": "b. Added value",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-08-17 19:48:38",
      "modified": "2026-08-08 20:08:20",
      "commits": 20
    },
    {
      "source": "c_Weighting.Rmd",
      "filename": "c_Weighting.html",
      "title": "c. Weighting (declared) values",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-08-17 19:48:38",
      "modified": "2026-08-11 05:07:27",
      "commits": 18
    }
  ],
  "_score": 9.674429854955049,
  "_indexed": true,
  "_nocasepkg": "declared",
  "_universes": [
    "dusadrian"
  ],
  "_previous": "0.27",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.28",
      "date": "2026-11-09T04:27:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/969594e735fec77b90b35d3f87f6189846b890a26d22bdeba7fc1258d8c4c891",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.28",
      "date": "2026-11-09T04:27:16.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/c737feecd64c3ed789fac199a52cac196e7f43166685811d9f2df6e1456cd4ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.28",
      "date": "2026-11-09T04:27:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/3203ab5d48d43782a7ecf98b1113f10cc47d08037dbba1009e514ae064713a5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.28",
      "date": "2026-11-09T04:27:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/7686e3d80b79f552196744bdb9fa23406bf745af96e468f0958b9f68758f32d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.28",
      "date": "2026-11-09T04:27:44.000Z",
      "arch": "aarch64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/3039b2ae16408711205eac0404fb375a63c3661697c20eb0368ec5ebea939b4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.28",
      "date": "2026-11-09T04:27:40.000Z",
      "arch": "x86_64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/998392bdb2f4316a05015ea3290ad8a472f7e8879add560874d0312a6c246d01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.28",
      "date": "2026-11-09T04:26:44.000Z",
      "arch": "aarch64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/526b6f6203d66197ab64786dbb693e79f9dd33b9ae8a735f54c4b1bdce628f0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.28",
      "date": "2026-11-09T04:28:06.000Z",
      "arch": "x86_64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/0280262b2ea9200924c3e349a2b4d108cf45ea317f22c927b4d4ead708f2560c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.28",
      "date": "2026-11-09T04:27:26.000Z",
      "arch": "emscripten",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/eab0492210e207d65d0be215d5d4eaf3fb62f3a4cadce6011e0c2545cfef554d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.28",
      "date": "2026-11-09T04:28:39.000Z",
      "arch": "aarch64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/2d7c329b02a754080f0fdab8ac4ffdc92b247b7ffea1b8786797b6de4b7ee02a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.28",
      "date": "2026-11-09T04:26:38.000Z",
      "arch": "x86_64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/2447fe55cea60cd7848d5453bd676c5685692d03ac94c3f4077cfe7031f917d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.28",
      "date": "2026-11-09T04:26:37.000Z",
      "arch": "x86_64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/5a4e7612b10077d89ef4d282cca07bd81d2fadcf45af7afa668b7f3092f83f14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.28",
      "date": "2026-11-09T04:28:45.000Z",
      "arch": "aarch64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/adac50672a10eecad3dc220e5312f0f479140e35e5d13641625eb4ef2938b409",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.28",
      "date": "2026-11-09T04:26:37.000Z",
      "arch": "x86_64",
      "commit": "fe5fcce39513afd20901f19549e788f49d66bb34",
      "fileid": "https://r2.ropensci.org/a16777268bb70a98d755e91f8aa71883ae2dc7025ef8c600bb70864604883dde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/42561450241"
    }
  ]
}