{
  "_id": "6b131db8ee7507cf073a29f0",
  "Package": "eventsurvey",
  "Title": "Causal Inference for Events During Surveys",
  "Version": "0.4.2",
  "Authors@R": "c(\nperson(\"Yusaku\", \"Horiuchi\", role = c(\"aut\", \"cre\"),\nemail = \"yusaku.horiuchi@gmail.com\",\ncomment = c(ORCID = \"0000-0003-0295-4089\")),\nperson(\"Guoer\", \"Liu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-7309-9801\")),\nperson(\"Jieun\", \"Oh\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-2810-0145\")),\nperson(\"Yuki\", \"Shiraito\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-0264-1138\"))\n)",
  "Description": "Provides tools for estimating causal effects when an event\noccurs while a survey is in the field. The workflow models the\nunobserved no-event outcome path, evaluates short-horizon\nforecasts with rolling pre-event exercises, and reports\ninference that accounts for sampling uncertainty and bounded\nforecast misspecification.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "dplyr, pkgdown, knitr, rmarkdown, ggplot2,\nggthemes",
  "VignetteBuilder": "knitr",
  "URL": "https://yhoriuchi.github.io/eventsurvey/,\nhttps://github.com/yhoriuchi/eventsurvey",
  "BugReports": "https://github.com/yhoriuchi/eventsurvey/issues",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-12-04 20:05:21 UTC",
    "User": "root"
  },
  "Author": "Yusaku Horiuchi [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0295-4089>), Guoer Liu [aut]\n(ORCID: <https://orcid.org/0000-0002-7309-9801>), Jieun Oh\n[aut] (ORCID: <https://orcid.org/0000-0003-2810-0145>), Yuki\nShiraito [aut] (ORCID: <https://orcid.org/0000-0003-0264-1138>)",
  "Maintainer": "Yusaku Horiuchi <yusaku.horiuchi@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-12-04 19:18:52 UTC",
  "RemoteUrl": "https://github.com/cran/eventsurvey",
  "RemoteRef": "HEAD",
  "RemoteSha": "36fdeebb8c38e833843bea70ddd15eaf43c5fa83",
  "_user": "cran",
  "_type": "src",
  "_file": "eventsurvey_0.4.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/4e49a0350fa22f6ea854d7d8f30ce9a79a04b659923d626d4a9e5c94e01b374a",
  "_filesize": 1527102,
  "_sha256": "4e49a0350fa22f6ea854d7d8f30ce9a79a04b659923d626d4a9e5c94e01b374a",
  "_expires": "2027-03-14T20:08:22.000Z",
  "_created": "2026-12-04T20:05:21.000Z",
  "_published": "2026-12-04T20:08:24.229Z",
  "_upstream": "https://github.com/cran/eventsurvey",
  "_status": "success",
  "_maintainer": {
    "name": "Yusaku Horiuchi",
    "email": "yusaku.horiuchi@gmail.com",
    "login": "yhoriuchi",
    "twitter": "@YusakuHoriuchi",
    "description": "Syde P. Deeb Eminent Scholar in Political Science at Florida State University",
    "uuid": 12041476,
    "orcid": "0000-0003-0295-4089"
  },
  "_jobs": [
    {
      "job": 145328373262,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15883487514"
    },
    {
      "job": 145328373297,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15885430350"
    },
    {
      "job": 145326330813,
      "time": 201,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15884420387"
    },
    {
      "job": 145328373115,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15884071213"
    },
    {
      "job": 145328373299,
      "time": 122,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15885165454"
    },
    {
      "job": 145328373258,
      "time": 112,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15885110612"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/47413696194",
  "_commit": {
    "id": "36fdeebb8c38e833843bea70ddd15eaf43c5fa83",
    "author": "Yusaku Horiuchi <yusaku.horiuchi@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.2\n",
    "time": 1796411932
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.2",
      "date": "2026-12-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yhoriuchi",
      "count": 1,
      "uuid": 12041476
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/eventsurvey"
  },
  "_devurl": "https://github.com/yhoriuchi/eventsurvey",
  "_pkgdown": "https://yhoriuchi.github.io/eventsurvey/",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/eventsurvey.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Yusaku Horiuchi",
      "email": "yusaku.horiuchi@gmail.com",
      "orcid": "0000-0003-0295-4089",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Guoer Liu",
      "orcid": "0000-0002-7309-9801",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Jieun Oh",
      "orcid": "0000-0003-2810-0145",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Yuki Shiraito",
      "orcid": "0000-0003-0264-1138",
      "role": [
        "aut"
      ]
    }
  ],
  "_exports": [
    "eventsurvey",
    "eventsurvey_report",
    "eventsurvey_summary",
    "simulate_eventsurvey"
  ],
  "_datasets": [
    {
      "name": "published_examples",
      "title": "Published application data at the period level",
      "object": "published_examples",
      "class": [
        "data.frame"
      ],
      "fields": [
        "study",
        "outcome",
        "event_date",
        "date",
        "day",
        "n",
        "mean",
        "variance"
      ],
      "rows": 274,
      "table": true,
      "tojson": true
    },
    {
      "name": "sample_data",
      "title": "Simulated respondent-level survey data",
      "object": "sample_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "day",
        "y"
      ],
      "rows": 1496,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "estimate_eventsurvey",
      "title": "Estimate effects of an event during survey fieldwork",
      "topics": [
        "eventsurvey"
      ]
    },
    {
      "page": "eventsurvey_report",
      "title": "Create a complete event-survey report",
      "topics": [
        "eventsurvey_report"
      ]
    },
    {
      "page": "eventsurvey_summary",
      "title": "Estimate event effects from period-level summaries",
      "topics": [
        "eventsurvey_summary"
      ]
    },
    {
      "page": "extract.eventsurvey",
      "title": "Extract the window-average event effect and confidence interval",
      "topics": [
        "coef.eventsurvey",
        "confint.eventsurvey",
        "extract.eventsurvey"
      ]
    },
    {
      "page": "plot.eventsurvey",
      "title": "Plot an event-during-survey analysis",
      "topics": [
        "plot.eventsurvey"
      ]
    },
    {
      "page": "print.eventsurvey",
      "title": "Print an event-during-survey analysis",
      "topics": [
        "print.eventsurvey"
      ]
    },
    {
      "page": "published_examples",
      "title": "Published application data at the period level",
      "topics": [
        "published_examples"
      ]
    },
    {
      "page": "sample_data",
      "title": "Simulated respondent-level survey data",
      "topics": [
        "sample_data"
      ]
    },
    {
      "page": "simulate_eventsurvey",
      "title": "Simulate an event-during-survey dataset",
      "topics": [
        "simulate_eventsurvey"
      ]
    },
    {
      "page": "summary.eventsurvey",
      "title": "Summarize an event-during-survey analysis",
      "topics": [
        "summary.eventsurvey"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/eventsurvey/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/eventsurvey/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "ggthemes",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "example-workflow.Rmd",
      "filename": "example-workflow.html",
      "title": "Complete Example Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Inspect coverage before fitting",
        "Prespecify the forecasting operation",
        "Interpret the two intervals",
        "Minimum reporting checklist",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "covariate-adjustment.Rmd",
      "filename": "covariate-adjustment.html",
      "title": "Covariate Adjustment",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Add baseline predictors",
        "Compare predictive performance",
        "What is predicted and averaged?",
        "Uncertainty and practical requirements"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "summary-data.Rmd",
      "filename": "summary-data.html",
      "title": "Estimating from Period-Level Summary Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Choose the function that matches the data",
        "Required period-level structure",
        "From respondent records to period summaries",
        "Inspect and plot the result",
        "Sparse periods and single responses",
        "Published summary-data example",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "published-applications.Rmd",
      "filename": "published-applications.html",
      "title": "Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example reports",
        "Compare average effects",
        "Bateson and Weintraub (2022)",
        "Daily effects",
        "Epifanio, Giani, and Ivandic (2023)",
        "Reproduce the reports",
        "References",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "faq.Rmd",
      "filename": "faq.html",
      "title": "Frequently Asked Questions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Is an event automatically as-if randomized?",
        "Why not compare means before and after?",
        "How much pre-event data are needed?",
        "How does the package handle sparse survey dates?",
        "What if there were no interviews on one day?",
        "What should I do with the event day?",
        "Does the package select the window automatically?",
        "Why is the honest interval wider?",
        "How is a period-average effect calibrated?",
        "Can I add covariates or nonlinear trends?",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install the current version",
        "1. Prepare respondent-level data",
        "2. Estimate the effect",
        "Estimate the average effect over five days",
        "3. See what was extrapolated",
        "4. Inspect the forecasting diagnostic",
        "Event-day conventions",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "methodology.Rmd",
      "filename": "methodology.html",
      "title": "Methodology and Assumptions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Estimand",
        "Identification",
        "Estimand-specific calibration",
        "Honest inference and why the construction still applies",
        "Sampling covariance",
        "What the interval does not solve",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "data-preparation.Rmd",
      "filename": "data-preparation.html",
      "title": "Preparing Survey Fieldwork Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Formula requirements",
        "Dates",
        "Event-period exposure",
        "Outcomes and missingness",
        "Sparse and irregular fieldwork",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "reading-html-reports.Rmd",
      "filename": "reading-html-reports.html",
      "title": "Reading an HTML Report",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A useful reading order",
        "Main result",
        "Automatic diagnostics",
        "Observed and counterfactual outcomes",
        "Period-specific effects",
        "Forecast diagnostics",
        "Survey coverage",
        "Analysis settings and reproducibility",
        "What the report does not establish",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "sensitivity.Rmd",
      "filename": "sensitivity.html",
      "title": "Sensitivity Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "sparse-survey-schedules.Rmd",
      "filename": "sparse-survey-schedules.html",
      "title": "Sparse Survey Schedules",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Calibration and elapsed horizons",
        "Create complete and sparse schedules",
        "Inspect what the package detected",
        "Compare the fitted counterfactuals",
        "Require consecutive calendar days when appropriate",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    },
    {
      "source": "automatic-diagnostics.Rmd",
      "filename": "automatic-diagnostics.html",
      "title": "Understanding Automatic Diagnostics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The five checks",
        "Inspect the diagnostics",
        "Sparse survey dates",
        "Small period samples and pooled variance",
        "Limited pre-event history",
        "A compact review workflow",
        "Also see"
      ],
      "created": "2026-12-04 19:18:52",
      "modified": "2026-12-04 19:18:52",
      "commits": 1
    }
  ],
  "_score": 3.7781512503836434,
  "_indexed": true,
  "_nocasepkg": "eventsurvey",
  "_universes": [
    "cran",
    "yhoriuchi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-12-04T20:07:31.000Z",
      "distro": "resolute",
      "commit": "36fdeebb8c38e833843bea70ddd15eaf43c5fa83",
      "fileid": "https://r2.ropensci.org/8acb57363f96524621bf1d0094fd127c7a6c1a4b809331ed442c9ff6db03b2f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47413696194"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-12-04T20:07:27.000Z",
      "distro": "resolute",
      "commit": "36fdeebb8c38e833843bea70ddd15eaf43c5fa83",
      "fileid": "https://r2.ropensci.org/65481f8b86300ab1ac3208d86c9aab89f455c32442f0ffc451a9c5f05451f431",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47413696194"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-12-04T20:07:37.000Z",
      "commit": "36fdeebb8c38e833843bea70ddd15eaf43c5fa83",
      "fileid": "https://r2.ropensci.org/7b02ee021452660108b1e900a56a5e2203def4c968d58aa500f88170c2a4da7c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47413696194"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-12-04T20:06:42.000Z",
      "commit": "36fdeebb8c38e833843bea70ddd15eaf43c5fa83",
      "fileid": "https://r2.ropensci.org/4beb9025452676938482f49f4bd0bd44cb4a9a1435bfbfc42d4ef8e9bda33ab8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47413696194"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-12-04T20:06:41.000Z",
      "commit": "36fdeebb8c38e833843bea70ddd15eaf43c5fa83",
      "fileid": "https://r2.ropensci.org/a5c0705fd0589d0070d6b86c3c7f13517546e719dfc9df2e3ff662d36d941400",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47413696194"
    }
  ]
}