{
  "_id": "6a1eb75eb25058d4daade6f0",
  "Package": "ddi",
  "Type": "Package",
  "Title": "The Data Defect Index for Samples that May not be IID",
  "Version": "0.1.0",
  "Authors@R": "c(person(given = \"Shiro\",\nfamily = \"Kuriwaki\",\nrole = c(\"aut\", \"cre\"),\nemail = \"shirokuriwaki@gmail.com\",\ncomment = c(ORCID = \"0000-0002-5687-2647\")))",
  "Description": "Implements Meng's data defect index (ddi), which\nrepresents the degree of sample bias relative to an iid sample.\nThe data defect correlation (ddc) represents the correlation\nbetween the outcome of interest and the selection into the\nsample; when the sample selection is independent across the\npopulation, the ddc is zero. Details are in Meng (2018)\n<doi:10.1214/18-AOAS1161SF>, \"Statistical Paradises and\nParadoxes in Big Data (I): Law of Large Populations, Big Data\nParadox, and the 2016 US Presidential Election.\" Survey\nestimates from the Cooperative Congressional Election Study\n(CCES) is included to replicate the article's results.",
  "Encoding": "UTF-8",
  "URL": "https://github.com/kuriwaki/ddi",
  "BugReports": "http://github.com/kuriwaki/ddi/issues",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "RoxygenNote": "7.0.2",
  "Repository": "https://kuriwaki.r-universe.dev",
  "Date/Publication": "2020-05-09 01:04:05 UTC",
  "RemoteUrl": "https://github.com/kuriwaki/ddi",
  "RemoteRef": "HEAD",
  "RemoteSha": "bbbc6772ef521b958033485f5fc30cb096e191b1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:48:04 UTC",
    "User": "root"
  },
  "Author": "Shiro Kuriwaki [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5687-2647>)",
  "Maintainer": "Shiro Kuriwaki <shirokuriwaki@gmail.com>",
  "MD5sum": "b6c4773b2ad2a5f795f4b8121b048a74",
  "_user": "kuriwaki",
  "_type": "src",
  "_file": "ddi_0.1.0.tar.gz",
  "_fileid": "5774a0103860a893366e39ac65e0df81bb04c6de76119383d7cf4d1384b4c052",
  "_filesize": 95984,
  "_sha256": "5774a0103860a893366e39ac65e0df81bb04c6de76119383d7cf4d1384b4c052",
  "_created": "2026-06-02T10:48:04.000Z",
  "_published": "2026-06-02T10:58:38.011Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79053896887,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355653876"
    },
    {
      "job": 79053896842,
      "time": 91,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355649447"
    },
    {
      "job": 79053896830,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355809650"
    },
    {
      "job": 79053896853,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355809770"
    },
    {
      "job": 79053526346,
      "time": 135,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355618894"
    },
    {
      "job": 79053896845,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355647921"
    },
    {
      "job": 79053896818,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355642947"
    },
    {
      "job": 79053896852,
      "time": 58,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355638697"
    },
    {
      "job": 79053896944,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355643646"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kuriwaki/ddi",
  "_commit": {
    "id": "bbbc6772ef521b958033485f5fc30cb096e191b1",
    "author": "Shiro Kuriwaki <shirokuriwaki@gmail.com>",
    "committer": "Shiro Kuriwaki <shirokuriwaki@gmail.com>",
    "message": "add cran badge\n",
    "time": 1588986245
  },
  "_maintainer": {
    "name": "Shiro Kuriwaki",
    "email": "shirokuriwaki@gmail.com",
    "login": "kuriwaki",
    "orcid": "0000-0002-5687-2647",
    "twitter": "@shirokuriwaki",
    "description": "Political Science, Applied Statistics, especially survey methods. Assistant Professor of Political Science at Yale University. ",
    "uuid": 8290417
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "kuriwaki",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "kuriwaki",
      "count": 51,
      "uuid": 8290417
    }
  ],
  "_userbio": {
    "uuid": 8290417,
    "type": "user",
    "name": "Shiro Kuriwaki",
    "description": "Political Science, Applied Statistics, especially survey methods. Assistant Professor of Political Science at Yale University. "
  },
  "_downloads": {
    "count": 146,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ddi"
  },
  "_devurl": "https://github.com/kuriwaki/ddi",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ddi.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kuriwaki/ddi",
  "_realowner": "kuriwaki",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-01-26"
    }
  ],
  "_exports": [
    "ddc"
  ],
  "_datasets": [
    {
      "name": "g2016",
      "title": "2016 General Election Results and Survey Estimates",
      "object": "g2016",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "st",
        "pct_djt_voters",
        "cces_totdjt_vv",
        "cces_pct_djt_vv",
        "cces_pct_djtrund_vv",
        "votes_djt",
        "tot_votes",
        "cces_n_vv",
        "vap",
        "vep"
      ],
      "rows": 51,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ddc",
      "title": "Data Defect Correlation",
      "topics": [
        "ddc"
      ]
    },
    {
      "page": "g2016",
      "title": "2016 General Election Results and Survey Estimates",
      "topics": [
        "g2016"
      ]
    }
  ],
  "_readme": "https://github.com/kuriwaki/ddi/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "ddi",
  "_universes": [
    "kuriwaki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-02T10:49:55.000Z",
      "distro": "noble",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "b9e91713f69762fb5a93b1ccf2c97d2855477a02c8a47cbe95dfd486639912c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-02T10:49:41.000Z",
      "distro": "noble",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "e7af395e63a70ba1ee1a324733a11e81df909f877c17374df4bf8153468afa7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-02T10:57:45.000Z",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "f67d890a968c61c95e1de1f3fd1a76ad5a19f0514fdf0e77585c5949c505f15a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-02T10:57:43.000Z",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "ec4e8e38f95e89755f569335ba7b33308d5bed7847e78d91ffbca18314c56b64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T10:49:46.000Z",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "517c867feaabc198d6c0027269b96ae2ef6a38f0a7563e148febc4f72dba550f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T10:49:17.000Z",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "0ad1977de0219f08ca7446c64a438bb68d10b07c1ce68fff887ed251ec269337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T10:49:05.000Z",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "eb2b9bc8add8f91e87ad011e6e684253fdbf34de63668e3ddd4d3918999fa1e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T10:49:20.000Z",
      "commit": "bbbc6772ef521b958033485f5fc30cb096e191b1",
      "fileid": "4fbfeb672d53b54135e3fb676385cedb3dcf20bb1e030d003f83c79365133798",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kuriwaki/actions/runs/26814720610"
    }
  ]
}