{
  "_id": "6a198f99acfb0bcc41dfd615",
  "Package": "declared",
  "Title": "Functions for Declared Missing Values",
  "Version": "0.26.8",
  "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-05-29 11:18:32 UTC",
  "RemoteUrl": "https://github.com/dusadrian/declared",
  "RemoteRef": "HEAD",
  "RemoteSha": "526bb4fcd00c42558900622f9f19068fbb521af0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 13:02:04 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>",
  "MD5sum": "46e48fd769c616c649ed10210f380c6d",
  "_user": "dusadrian",
  "_type": "src",
  "_file": "declared_0.26.8.tar.gz",
  "_fileid": "68060816a9629408621577ea96a565ee95a6cd97d5c19775b1854d6b59dee4a4",
  "_filesize": 246299,
  "_sha256": "68060816a9629408621577ea96a565ee95a6cd97d5c19775b1854d6b59dee4a4",
  "_created": "2026-05-29T13:02:04.000Z",
  "_published": "2026-05-29T13:07:37.034Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78505869624,
      "time": 183,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291342712"
    },
    {
      "job": 78505869575,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291330770"
    },
    {
      "job": 78505869787,
      "time": 135,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291327523"
    },
    {
      "job": 78505869618,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291328517"
    },
    {
      "job": 78505869563,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291322058"
    },
    {
      "job": 78505869663,
      "time": 289,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291378738"
    },
    {
      "job": 78505869584,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291325345"
    },
    {
      "job": 78505869596,
      "time": 263,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291369774"
    },
    {
      "job": 78505299104,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291281669"
    },
    {
      "job": 78505869706,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291316449"
    },
    {
      "job": 78505869597,
      "time": 119,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291321840"
    },
    {
      "job": 78505869601,
      "time": 163,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291335953"
    },
    {
      "job": 78505869564,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291316220"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dusadrian/declared",
  "_commit": {
    "id": "526bb4fcd00c42558900622f9f19068fbb521af0",
    "author": "Adrian Dușa <dusa.adrian@gmail.com>",
    "committer": "Adrian Dușa <dusa.adrian@gmail.com>",
    "message": "up minor version\n",
    "time": 1780053512
  },
  "_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"
  },
  "_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
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "dusadrian",
      "count": 430,
      "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",
    "description": "Sociologist, and R enthusiast"
  },
  "_downloads": {
    "count": 5797,
    "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.103695006519022,
  "_indexed": true,
  "_nocasepkg": "declared",
  "_universes": [
    "dusadrian"
  ],
  "_previous": "0.26.7",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.26.8",
      "date": "2026-05-29T13:04:57.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "e5ef8936da523d79e3f679d26101fe355dee4d300841412d1434d7c4e0a83210",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.26.8",
      "date": "2026-05-29T13:04:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "88bfde8cd34df961a5cbba20977252d057e3427804924a90f96354f5af46505b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.26.8",
      "date": "2026-05-29T13:04:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "01c89c8bed0e4feda5138d40375c2a76f132e89944015aa91c585bfe101712f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.26.8",
      "date": "2026-05-29T13:04:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "017f93f9bef848e49ec821af1e06dc6b8b64c5ad179b297cee41f56f3e428cad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.26.8",
      "date": "2026-05-29T13:03:56.000Z",
      "arch": "aarch64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "ab56c6a5f271427cb845078706c8c7ed88487a4c6bb7ae8bb14abfc03866d6de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.26.8",
      "date": "2026-05-29T13:06:10.000Z",
      "arch": "x86_64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "301f566087b1645c6731d36deedcb8b2a7db559703dcbb31744f650187730498",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.26.8",
      "date": "2026-05-29T13:04:01.000Z",
      "arch": "aarch64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "b86c1cfcdca5f2d50ef84fe2bdaf50f590ac17c77821e470ee63f597ac8de0c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.26.8",
      "date": "2026-05-29T13:05:40.000Z",
      "arch": "x86_64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "29d52270a536fcf6833ed32ab618d4c7baf5b74de0e58390802794ed0722b37d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.26.8",
      "date": "2026-05-29T13:04:07.000Z",
      "arch": "emscripten",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "eaaa53ceeb9f0eb4d3b53189cce5ad99841865409c65e59b43379b7e851db1a1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.26.8",
      "date": "2026-05-29T13:03:38.000Z",
      "arch": "x86_64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "7e887286d4db22dadfe9cc0406b12f9238da1451971b9bba0bf79068e5af0ce2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.26.8",
      "date": "2026-05-29T13:03:58.000Z",
      "arch": "x86_64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "7f1dadfeddfaa518415730cb24db88f16c6bc5761052013436f9e770199c6878",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.26.8",
      "date": "2026-05-29T13:03:27.000Z",
      "arch": "x86_64",
      "commit": "526bb4fcd00c42558900622f9f19068fbb521af0",
      "fileid": "796a81cc022635a04d3f9236d390ea322d62811960e23e715989e7558fbc1fcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dusadrian/actions/runs/26638617047"
    }
  ]
}