{
  "_id": "6a102761acfb0bcc41c900ea",
  "Package": "rdss",
  "Title": "Companion Datasets and Functions for Research Design in the\nSocial Sciences",
  "Version": "1.0.14",
  "Authors@R": "c(person(\"Graeme\", \"Blair\", email = \"graeme.blair@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-9164-2102\")),\nperson(\"Alexander\", \"Coppock\", email = \"acoppock@gmail.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-5733-2386\")),\nperson(\"Macartan\", \"Humphreys\", email = \"macartan@gmail.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0001-7029-2326\")))",
  "Description": "Helper functions to accompany the Blair, Coppock, and\nHumphreys (2022) \"Research Design in the Social Sciences:\nDeclaration, Diagnosis, and Redesign\"\n<https://book.declaredesign.org>. 'rdss' includes datasets,\nhelper functions, and plotting components to enable use and\nreplication of the book.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 08:41:43 UTC",
    "User": "root"
  },
  "Author": "Graeme Blair [aut, cre]\n(<https://orcid.org/0000-0001-9164-2102>), Alexander Coppock\n[aut] (<https://orcid.org/0000-0002-5733-2386>), Macartan\nHumphreys [aut] (<https://orcid.org/0000-0001-7029-2326>)",
  "Maintainer": "Graeme Blair <graeme.blair@gmail.com>",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev libssl-dev libx11-dev",
  "Repository": "https://graemeblair.r-universe.dev",
  "Date/Publication": "2025-01-09 12:55:34 UTC",
  "RemoteUrl": "https://github.com/cran/rdss",
  "RemoteRef": "HEAD",
  "RemoteSha": "d0dcf0e62399fa38dd455be999088dfd2f991961",
  "MD5sum": "06571b308103b9189aeb8157804254bc",
  "_user": "graemeblair",
  "_type": "src",
  "_file": "rdss_1.0.14.tar.gz",
  "_fileid": "c73bb095a043e5fb4463106e85ec9ed58b83aedb76c9678ca15641c240a79899",
  "_filesize": 1609312,
  "_sha256": "c73bb095a043e5fb4463106e85ec9ed58b83aedb76c9678ca15641c240a79899",
  "_created": "2026-05-13T08:41:43.000Z",
  "_published": "2026-05-22T09:52:33.525Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356243406,
      "time": 274,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965527803"
    },
    {
      "job": 77356243080,
      "time": 236,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965513892"
    },
    {
      "job": 77356243259,
      "time": 243,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965502710"
    },
    {
      "job": 77356243150,
      "time": 201,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965494677"
    },
    {
      "job": 77356242826,
      "time": 364,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965435367"
    },
    {
      "job": 77356242733,
      "time": 167,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157703984"
    },
    {
      "job": 77356243196,
      "time": 165,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965491001"
    },
    {
      "job": 77356243384,
      "time": 153,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965487246"
    },
    {
      "job": 77356243136,
      "time": 145,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965484735"
    }
  ],
  "_buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/rdss",
  "_commit": {
    "id": "d0dcf0e62399fa38dd455be999088dfd2f991961",
    "author": "Graeme Blair <graeme.blair@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.14\n",
    "time": 1736427334
  },
  "_maintainer": {
    "name": "Graeme Blair",
    "email": "graeme.blair@gmail.com",
    "orcid": "0000-0001-9164-2102"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dataverse",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "estimatr",
      "role": "Imports"
    },
    {
      "package": "randomizr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rdrobust",
      "role": "Suggests"
    },
    {
      "package": "DIDmultiplegt",
      "role": "Suggests"
    },
    {
      "package": "broom.mixed",
      "role": "Suggests"
    },
    {
      "package": "marginaleffects",
      "role": "Suggests"
    },
    {
      "package": "grf",
      "role": "Suggests"
    },
    {
      "package": "CausalQueries",
      "role": "Suggests"
    },
    {
      "package": "metafor",
      "role": "Suggests"
    },
    {
      "package": "cjoint",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "rstanarm",
      "role": "Suggests"
    },
    {
      "package": "spdep",
      "role": "Suggests"
    },
    {
      "package": "DeclareDesign",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 3320015,
    "type": "user",
    "name": "Graeme Blair",
    "description": "Professor of Political Science"
  },
  "_downloads": {
    "count": 3050,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rdss"
  },
  "_searchresults": 33,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rdss.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "graemeblair",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-01-17"
    },
    {
      "version": "1.0.2",
      "date": "2023-03-27"
    },
    {
      "version": "1.0.4",
      "date": "2023-05-02"
    },
    {
      "version": "1.0.6",
      "date": "2024-02-20"
    },
    {
      "version": "1.0.8",
      "date": "2024-03-02"
    },
    {
      "version": "1.0.10",
      "date": "2024-03-30"
    },
    {
      "version": "1.0.12",
      "date": "2024-10-10"
    },
    {
      "version": "1.0.14",
      "date": "2025-01-09"
    }
  ],
  "_exports": [
    "add_parens",
    "best_predictor",
    "causal_forest_handler",
    "conjoint_assignment",
    "conjoint_inquiries",
    "conjoint_measurement",
    "dd_palette",
    "did_multiplegt_tidy",
    "estimator_AS_tidy",
    "format_num",
    "get_exposure_AS",
    "get_rdss_file",
    "hex_add_alpha",
    "lag_by_group",
    "make_interval_entry",
    "make_se_entry",
    "post_stratification_helper",
    "process_tracing_estimator",
    "rdrobust_helper",
    "rma_helper",
    "rma_mu_tau",
    "theme_dd",
    "tidy",
    "tidy_stan"
  ],
  "_datasets": [
    {
      "name": "bonilla_tillery",
      "title": "Replication data for Bonilla and Tillery (2020), American Political Science Review (obtained from Dataverse 10.7910/DVN/IUZDQI)",
      "object": "bonilla_tillery",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "female",
        "lgbtq",
        "age",
        "religiosity",
        "income",
        "college",
        "blm_familiarity",
        "linked_fate",
        "Z",
        "blm_support"
      ],
      "rows": 849,
      "table": true,
      "tojson": true
    },
    {
      "name": "clingingsmith_etal",
      "title": "Replication data for David Clingingsmith, Asim Ijaz Khwaja, Michael Kremer (2020): Estimating the Impact of The Hajj: Religion and Tolerance in Islam's Global Gathering. The Quarterly Journal of Economics, Volume 124, Issue 3, August 2009, Pages 1133-1170",
      "object": "clingingsmith_etal",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "success",
        "views_saudi",
        "views_indonesian",
        "views_turkish",
        "views_african",
        "views_chinese",
        "views_european",
        "views"
      ],
      "rows": 958,
      "table": true,
      "tojson": true
    },
    {
      "name": "fairfax",
      "title": "Shapefile of Fairfax County, Virginia, voting precincts",
      "object": "fairfax",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "PREC_IDENT",
        "PREC_NAME",
        "DISTRICT",
        "POLLING_PL",
        "ADDRESS",
        "CITY",
        "ZIP",
        "SHAPE_AREA",
        "SHAPE_LEN",
        "geometry"
      ],
      "rows": 238,
      "table": false,
      "tojson": true
    },
    {
      "name": "foos_etal",
      "title": "Replication data for Foos, John, Muller, and Cunningham (2021), Journal of Politics (derived from from Dataverse 10.7910/DVN/NDPXND)",
      "object": "foos_etal",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "marked_register_2014",
        "ward",
        "street",
        "treat",
        "weights"
      ],
      "rows": 8375,
      "table": true,
      "tojson": true
    },
    {
      "name": "la_voter_file",
      "title": "Voter file sample for Los Angeles County",
      "object": "la_voter_file",
      "class": [
        "data.frame"
      ],
      "fields": [
        "party",
        "age",
        "census_tract",
        "voted_2012"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "lapop_brazil",
      "title": "Data used in student exercises for RDSS based on LAPOP survey of Brazil in 2018",
      "object": "lapop_brazil",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "municipality",
        "trust_police",
        "govt_responsive",
        "ideology",
        "govt_pride",
        "self_efficacy_political",
        "trust_military",
        "trust_supreme_court",
        "support_political_system"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_parens",
      "title": "Add parentheses around standard error estimates",
      "topics": [
        "add_parens"
      ]
    },
    {
      "page": "best_predictor",
      "title": "Best predictor function from causal_forest",
      "topics": [
        "best_predictor"
      ]
    },
    {
      "page": "bonilla_tillery",
      "title": "Replication data for Bonilla and Tillery (2020), American Political Science Review (obtained from Dataverse 10.7910/DVN/IUZDQI)",
      "topics": [
        "bonilla_tillery"
      ]
    },
    {
      "page": "causal_forest_handler",
      "title": "Tidy helper function for causal_forest function",
      "topics": [
        "causal_forest_handler"
      ]
    },
    {
      "page": "clingingsmith_etal",
      "title": "Replication data for David Clingingsmith, Asim Ijaz Khwaja, Michael Kremer (2020): Estimating the Impact of The Hajj: Religion and Tolerance in Islam's Global Gathering. The Quarterly Journal of Economics, Volume 124, Issue 3, August 2009, Pages 1133-1170",
      "topics": [
        "clingingsmith_etal"
      ]
    },
    {
      "page": "conjoint_assignment",
      "title": "Conjoint experiment assignment handler: conducts complete random assignment of all attribute levels",
      "topics": [
        "conjoint_assignment"
      ]
    },
    {
      "page": "conjoint_inquiries",
      "title": "Conjoint experiment inquiries handler",
      "topics": [
        "conjoint_inquiries"
      ]
    },
    {
      "page": "conjoint_measurement",
      "title": "Conjoint experiment assignment handler: conducts complete random assignment of all attribute levels",
      "topics": [
        "conjoint_measurement"
      ]
    },
    {
      "page": "dd_palette",
      "title": "Access color palette used in the book \"Research Design: Declare, Diagnose, Redesign\" (Blair, Coppock, Humphreys)",
      "topics": [
        "dd_palette"
      ]
    },
    {
      "page": "did_multiplegt_tidy",
      "title": "Tidy helper function for did_multiplegt",
      "topics": [
        "did_multiplegt_tidy"
      ]
    },
    {
      "page": "estimator_AS_tidy",
      "title": "Tidy helper function for estimator_AS function",
      "topics": [
        "estimator_AS_tidy"
      ]
    },
    {
      "page": "fairfax",
      "title": "Shapefile of Fairfax County, Virginia, voting precincts",
      "topics": [
        "fairfax"
      ]
    },
    {
      "page": "foos_etal",
      "title": "Replication data for Foos, John, Muller, and Cunningham (2021), Journal of Politics (derived from from Dataverse 10.7910/DVN/NDPXND)",
      "topics": [
        "foos_etal"
      ]
    },
    {
      "page": "format_num",
      "title": "Round and pad a number to a specific decimal place",
      "topics": [
        "format_num"
      ]
    },
    {
      "page": "get_exposure_AS",
      "title": "Helper function to obtain the observed exposure for the Aronow and Samii estimator",
      "topics": [
        "get_exposure_AS"
      ]
    },
    {
      "page": "get_rdss_file",
      "title": "Download a replication file from the dataverse archive for Research Design in the Social Sciences: Declaration, Diagnosis, and Redesign",
      "topics": [
        "get_rdss_file"
      ]
    },
    {
      "page": "hex_add_alpha",
      "title": "Add alpha transparency to a color defined in hexadecimal",
      "topics": [
        "hex_add_alpha"
      ]
    },
    {
      "page": "la_voter_file",
      "title": "Voter file sample for Los Angeles County",
      "topics": [
        "la_voter_file"
      ]
    },
    {
      "page": "lag_by_group",
      "title": "Generate lags in grouped data",
      "topics": [
        "lag_by_group"
      ]
    },
    {
      "page": "lapop_brazil",
      "title": "Data used in student exercises for RDSS based on LAPOP survey of Brazil in 2018",
      "topics": [
        "lapop_brazil"
      ]
    },
    {
      "page": "make_interval_entry",
      "title": "Format confidence intervals for nice printing",
      "topics": [
        "make_interval_entry"
      ]
    },
    {
      "page": "make_se_entry",
      "title": "Format estimates and standard errors for nice printing",
      "topics": [
        "make_se_entry"
      ]
    },
    {
      "page": "post_stratification_helper",
      "title": "Post stratification estimator helper",
      "topics": [
        "post_stratification_helper"
      ]
    },
    {
      "page": "process_tracing_estimator",
      "title": "Process tracing estimator",
      "topics": [
        "process_tracing_estimator"
      ]
    },
    {
      "page": "rdrobust_helper",
      "title": "Helper function for using rdrobust as a model in 'declare_estimator'",
      "topics": [
        "rdrobust_helper"
      ]
    },
    {
      "page": "rdss",
      "title": "rdss package",
      "topics": [
        "rdss-package",
        "rdss"
      ]
    },
    {
      "page": "rma_helper",
      "title": "Helper function for rma function in metafor package",
      "topics": [
        "rma_helper"
      ]
    },
    {
      "page": "rma_mu_tau",
      "title": "Extract mu and tau parameters from rma model fit",
      "topics": [
        "rma_mu_tau"
      ]
    },
    {
      "page": "theme_dd",
      "title": "ggplot Theme used in the book \"Research Design: Declare, Diagnose, Redesign\" (Blair, Coppock, Humphreys)",
      "topics": [
        "theme_dd"
      ]
    },
    {
      "page": "tidy_stan",
      "title": "Tidy results from a stanreg regresion and exponentiate the estimated coefficient",
      "topics": [
        "tidy_stan"
      ]
    },
    {
      "page": "tidy.amce",
      "title": "Tidy estimates from the amce estimator",
      "topics": [
        "tidy.amce"
      ]
    },
    {
      "page": "tidy.rdrobust",
      "title": "Tidy helper function for rdrobust function",
      "topics": [
        "tidy.rdrobust"
      ]
    }
  ],
  "_readme": "https://github.com/cran/rdss/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "bit",
    "bit64",
    "broom",
    "cachem",
    "checkmate",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "dataverse",
    "dplyr",
    "estimatr",
    "farver",
    "fastmap",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "httr",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "randomizr",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "readr",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xml2"
  ],
  "_score": 2.701783783560692,
  "_indexed": true,
  "_nocasepkg": "rdss",
  "_universes": [
    "graemeblair"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.14",
      "date": "2026-05-13T08:45:45.000Z",
      "distro": "noble",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "acd4fd61f3db966a59194f11ae08b8b903bc831d803d6129a236e3b425538702",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.14",
      "date": "2026-05-13T08:45:13.000Z",
      "distro": "noble",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "a5002dad9d5f51c32632cd4f659b8cb183a8f8770ca93e80e0f73e60945a6c0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.14",
      "date": "2026-05-13T08:44:40.000Z",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "695eebd8eee6980b1954eb1dafee031f29add66b86a68c0e438588fcdaca6a3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.14",
      "date": "2026-05-13T08:44:24.000Z",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "e42a2dc0ca0ca54bb5a328f7f1944c9d5f289b3ea20794890b790920a60ea299",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.14",
      "date": "2026-05-13T08:43:48.000Z",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "b1e5950b4251b6933f8912c5890c7a3272e70afca5bf3bcc33689a6dfe996c0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.14",
      "date": "2026-05-13T08:43:41.000Z",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "b45e0cf08ad8f375a93b828c49e4aedeb29ba8d6501be418d0404999a74328af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.14",
      "date": "2026-05-13T08:43:32.000Z",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "8fef684ec1353a06a1797514bd9ee83b3ce222a4c51e96ca5a6bbad7b0126a00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.14",
      "date": "2026-05-22T09:52:17.000Z",
      "commit": "d0dcf0e62399fa38dd455be999088dfd2f991961",
      "fileid": "da033b374830ba66d9f68bb09f65ab1cd22f15abedac4aa7e28d34c13444f3de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/graemeblair/actions/runs/25787956133"
    }
  ]
}