{
  "_id": "6a495e1577d6db3f2f9652ef",
  "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-06-24 08:43:46 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/0b9e6f2d8eec26fe8584a1927bf6e14a11d7f07ced33762abe63acbe17346987",
  "_filesize": 249196,
  "_sha256": "0b9e6f2d8eec26fe8584a1927bf6e14a11d7f07ced33762abe63acbe17346987",
  "_expires": "2026-10-12T19:25:07.000Z",
  "_created": "2026-06-24T08:43:46.000Z",
  "_published": "2026-07-04T19:25:09.206Z",
  "_jobs": [
    {
      "job": 85160303027,
      "time": 176,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7844522893"
    },
    {
      "job": 85160302971,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7844514931"
    },
    {
      "job": 85160303253,
      "time": 152,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844514710"
    },
    {
      "job": 85160303105,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844512824"
    },
    {
      "job": 85160303137,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7844497960"
    },
    {
      "job": 85160303170,
      "time": 169,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7844520294"
    },
    {
      "job": 85160303002,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844510942"
    },
    {
      "job": 85160303142,
      "time": 295,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844565705"
    },
    {
      "job": 85160302750,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844456944"
    },
    {
      "job": 85160303076,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844513175"
    },
    {
      "job": 85160302985,
      "time": 104,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7844496682"
    },
    {
      "job": 85160303118,
      "time": 139,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7844509432"
    },
    {
      "job": 85160303087,
      "time": 113,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844500029"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240",
  "_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": 29,
    "description": "Sociologist, and R enthusiast"
  },
  "_downloads": {
    "count": 5322,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/declared"
  },
  "_devurl": "https://github.com/dusadrian/declared",
  "_searchresults": 26,
  "_rbuild": "4.6.0",
  "_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": 9.098751259735021,
  "_indexed": true,
  "_nocasepkg": "declared",
  "_universes": [
    "dusadrian"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-06-24T08:46:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/fd0e494e65a3793ad98876bcea43368045eef73e14cc4e2498e751e36474e373",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-06-24T08:46:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/f5c9239b4eeeb525944510c88fa65235d20428826b0abeaf05c42a9095c4133b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-06-24T08:46:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/b9ea4c7f2bec133c44c4ce5ac51c46befe95abeb6fde2a4f135702abb148d26b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.26.9",
      "date": "2026-06-24T08:46:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/677557aefcab3aada2ada1cbccaafeb949fa671b38685440af063e309e0f7a5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-06-24T08:45:28.000Z",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/ea23219cccd97754f2f520b9e6ca08d26cf919484dcf5328e1c20027f04166dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-06-24T08:46:10.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/28488fef82444a7715c077ac3456c888edd53cad2449a458c10f724ef87558a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-06-24T08:45:51.000Z",
      "arch": "aarch64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/9c34abd108161b5aeef8263f8df11f83e69702948ded49fc8a5f76d270c043ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.26.9",
      "date": "2026-06-24T08:47:48.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/01097a2faf6d67c7de27e5cbb87a66c779386f59f55d8c9297ec2833f53d48fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.26.9",
      "date": "2026-06-24T08:46:35.000Z",
      "arch": "emscripten",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/775731e87f99071afd58e9a52558d5544bf88f7afb73de216f5c3ca62d0d237b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.26.9",
      "date": "2026-06-24T08:45:06.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/a587d835c0ac8fd9e1aecca594341d99c7e02be9161b693a7f27dece318e0a53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.26.9",
      "date": "2026-06-24T08:45:34.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/d938749f002e88feb6317f49f1a295fda99c2d98e19b3449caeb44f7344f69de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.26.9",
      "date": "2026-06-24T08:45:08.000Z",
      "arch": "x86_64",
      "commit": "ee2850ba0031fb258a02c86219184b9d48c1ab8a",
      "fileid": "https://r2.ropensci.org/e5669000bd110486ed3a8a3bdc72f5207eca6e3f3abe00f4370725b205b4575e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/28086214240"
    }
  ]
}