{
  "_id": "6a6325a1d3420cf5dfdb7bc4",
  "Package": "declared",
  "Title": "Functions for Declared Missing Values",
  "Version": "0.26.9",
  "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://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-06-18 09:34:20 UTC",
  "RemoteUrl": "https://github.com/dusadrian/declared",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-24 07:14:38 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.26.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/bc3bcc2068b760ead85d74045a5e2e030bc1f014149195302395c6eb1891da29",
  "_filesize": 246360,
  "_sha256": "bc3bcc2068b760ead85d74045a5e2e030bc1f014149195302395c6eb1891da29",
  "_expires": "2026-11-01T08:43:11.000Z",
  "_created": "2026-07-24T07:14:38.000Z",
  "_published": "2026-07-24T08:43:13.644Z",
  "_jobs": [
    {
      "job": 89423208282,
      "time": 168,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589485365"
    },
    {
      "job": 89423208271,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589485048"
    },
    {
      "job": 89423208355,
      "time": 148,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589479058"
    },
    {
      "job": 89423208301,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589488020"
    },
    {
      "job": 89423208570,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8591347953"
    },
    {
      "job": 89423208273,
      "time": 180,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8591315574"
    },
    {
      "job": 89423208325,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8591122133"
    },
    {
      "job": 89423208312,
      "time": 163,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8591312010"
    },
    {
      "job": 89422713526,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589427637"
    },
    {
      "job": 89423208319,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8589469637"
    },
    {
      "job": 89423208292,
      "time": 104,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589464426"
    },
    {
      "job": 89423208274,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8589465999"
    },
    {
      "job": 89423208318,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589468353"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831",
  "_status": "success",
  "_upstream": "https://github.com/dusadrian/declared",
  "_commit": {
    "id": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
    "author": "Adrian Dușa <dusa.adrian@gmail.com>",
    "committer": "Adrian Dușa <dusa.adrian@gmail.com>",
    "message": "up minor version\n",
    "time": 1781775260
  },
  "_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"
  },
  "_distro": "resolute",
  "_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": 8,
  "_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
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "dusadrian",
      "count": 433,
      "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": 30,
    "description": "Sociologist, and R enthusiast"
  },
  "_downloads": {
    "count": 2889,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/declared"
  },
  "_devurl": "https://github.com/dusadrian/declared",
  "_searchresults": 26,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/declared.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "value_labels",
    "variable_label",
    "w_fivenum",
    "w_IQR",
    "w_mean",
    "w_measures",
    "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": "weighted",
      "title": "Compute weighted summaries for declared objects",
      "topics": [
        "weighted",
        "wfivenum",
        "wIQR",
        "wmean",
        "wmeasures",
        "wmedian",
        "wmode",
        "wquantile",
        "wsd",
        "wstandardize",
        "wsummary",
        "wtable",
        "wvar",
        "w_measures"
      ]
    }
  ],
  "_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": "2024-09-05 18:56:23",
      "commits": 19
    },
    {
      "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": "2025-04-09 10:11:41",
      "commits": 16
    }
  ],
  "_score": 8.833423931363848,
  "_indexed": true,
  "_nocasepkg": "declared",
  "_universes": [
    "dusadrian"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-07-24T07:17:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/2a0404985eaf260b2d68bf41f1b80d4d656665c36343d988d5f28a7a1980663e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-07-24T07:17:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/75cf2e789fb15922231e2908c939839714bc101f3c6c41ddce6b4a9926f99698",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-07-24T07:17:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/5c5e94419b28fcbedb90901012b4cb3d507c15cd3fba88f71ebd2b465431048b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-07-24T07:17:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/4a46d261234b75eace037e90fc8260d5f4b047b210df43697761d78db9e46342",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-07-24T08:42:13.000Z",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/7d4dbde593809aa22a8bed53e4e25b3841e692abc2a2844e958fc47df86ca8c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-07-24T08:40:23.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/680ecd18c76c74f4645f09755776994be62a04d88a34564bbb30b749ee1dff64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-07-24T08:32:19.000Z",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/6d59b9f460402d1c5065327a75ddf78300b2fdab1b9c1b87d491d9dfc555cbc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-07-24T08:40:19.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/dba25dad26f274b41785ecaa855e2bed2e288fc67c7c4449a06222d0a41630e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.26.9",
      "date": "2026-07-24T07:16:58.000Z",
      "arch": "emscripten",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/17728aeb142be2af26d5b5db57a04af11e34ad82f4e6a40cb056ec5eb96465a7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.26.9",
      "date": "2026-07-24T07:15:53.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/2c0c47b081ac14a38967f71cbf3f30cf72ad15797d40b39f42b9be6e4eed9860",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.26.9",
      "date": "2026-07-24T07:15:59.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/18358a2834836da6e603d0c7e7eee1d5dd44a59c672fe787edfa8e4decdbe83e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.26.9",
      "date": "2026-07-24T07:16:06.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/0d9bbc85cb2dc3a9d4e5e9ce80562ecfcb1e8956c514f8fec79fd3dc6bf1c395",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/30074649831"
    }
  ]
}