{
  "_id": "6ae321c18d250e7ad09eff69",
  "Package": "surveil",
  "Title": "Time Series Models for Disease Surveillance",
  "Version": "0.3.0",
  "Date": "2024-07-07",
  "Authors@R": "person(given = \"Connor\",\nfamily = \"Donegan\",\nrole = c(\"aut\", \"cre\"),\nemail = \"connor.donegan@gmail.com\",\ncomment = c(ORCID = \"0000-0002-9698-5443\"))",
  "URL": "https://connordonegan.github.io/surveil/,\nhttps://github.com/ConnorDonegan/surveil/",
  "Description": "Fits time trend models for routine disease surveillance\ntasks and returns probability distributions for a variety of\nquantities of interest, including age-standardized rates,\nperiod and cumulative percent change, and measures of health\ninequality. The models are appropriate for count data such as\ndisease incidence and mortality data, employing a Poisson or\nbinomial likelihood and the first-difference (random-walk)\nprior for unknown risk. Optionally add a covariance matrix for\nmultiple, correlated time series models. Inference is completed\nusing Markov chain Monte Carlo via the Stan modeling language.\nReferences: Donegan, Hughes, and Lee (2022)\n<doi:10.2196/34589>; Stan Development Team (2021)\n<https://mc-stan.org>; Theil (1972, ISBN:0-444-10378-3).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 10:22:42 UTC",
    "User": "root"
  },
  "Author": "Connor Donegan [aut, cre]\n(<https://orcid.org/0000-0002-9698-5443>)",
  "Maintainer": "Connor Donegan <connor.donegan@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-07-09 02:45:53 UTC",
  "RemoteUrl": "https://github.com/cran/surveil",
  "RemoteRef": "HEAD",
  "RemoteSha": "106a82755db59d604541db5a1b33dcd9387dc469",
  "_user": "cran",
  "_type": "src",
  "_file": "surveil_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c09187573131bb2c8e5c4bbeb8b28f297b7823a38806a82c90cedd209eb6c452",
  "_filesize": 1735243,
  "_sha256": "c09187573131bb2c8e5c4bbeb8b28f297b7823a38806a82c90cedd209eb6c452",
  "_expires": "2027-02-06T10:36:47.000Z",
  "_created": "2026-10-29T10:22:42.000Z",
  "_published": "2026-10-29T10:36:49.089Z",
  "_upstream": "https://github.com/cran/surveil",
  "_status": "success",
  "_maintainer": {
    "name": "Connor Donegan",
    "email": "connor.donegan@gmail.com",
    "login": "connordonegan",
    "description": "",
    "uuid": 24845033,
    "orcid": "0000-0002-9698-5443"
  },
  "_jobs": [
    {
      "job": 123391558609,
      "time": 295,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12889144100"
    },
    {
      "job": 123391558637,
      "time": 247,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12890810451"
    },
    {
      "job": 123391558597,
      "time": 283,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12889613082"
    },
    {
      "job": 123391558695,
      "time": 342,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12890521999"
    },
    {
      "job": 123388307799,
      "time": 435,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12889781853"
    },
    {
      "job": 123391558436,
      "time": 220,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12890192688"
    },
    {
      "job": 123391558626,
      "time": 393,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12890197336"
    },
    {
      "job": 123391558625,
      "time": 439,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12890446941"
    },
    {
      "job": 123391558641,
      "time": 397,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12890685692"
    },
    {
      "job": 123391558659,
      "time": 376,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12890561371"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144",
  "_commit": {
    "id": "106a82755db59d604541db5a1b33dcd9387dc469",
    "author": "Connor Donegan <connor.donegan@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1720493153
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "rstantools",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "tidybayes",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "version": ">= 2.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "ggdist",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "connordonegan",
      "count": 6,
      "uuid": 24845033
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 341,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/surveil"
  },
  "_devurl": "https://github.com/connordonegan/surveil",
  "_pkgdown": "https://connordonegan.github.io/surveil/",
  "_searchresults": 0,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/surveil.html"
  ],
  "_homeurl": "https://github.com/connordonegan/surveil",
  "_realowner": "connordonegan",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-11-11"
    },
    {
      "version": "0.1.1",
      "date": "2022-01-03"
    },
    {
      "version": "0.2.0",
      "date": "2022-04-03"
    },
    {
      "version": "0.2.1",
      "date": "2022-08-22"
    },
    {
      "version": "0.2.2",
      "date": "2023-10-03"
    },
    {
      "version": "0.3.0",
      "date": "2024-07-08"
    }
  ],
  "_exports": [
    "apc",
    "group_diff",
    "lkj",
    "normal",
    "stan_rw",
    "standardize",
    "theil",
    "theil2",
    "waic"
  ],
  "_datasets": [
    {
      "name": "cancer",
      "title": "US cancer incidence by age, 1999-2017",
      "object": "cancer",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Year",
        "Age",
        "Count",
        "Population"
      ],
      "rows": 361,
      "table": true,
      "tojson": true
    },
    {
      "name": "msa",
      "title": "Colorectal cancer incidence by Texas MSA, 1999-2017, ages 50-79",
      "object": "msa",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Year",
        "Race",
        "MSA",
        "Count",
        "Population"
      ],
      "rows": 228,
      "table": true,
      "tojson": true
    },
    {
      "name": "standard",
      "title": "2000 U.S. standard million population",
      "object": "standard",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age.id",
        "age",
        "standard_pop"
      ],
      "rows": 19,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "surveil-package",
      "title": "The 'surveil' package",
      "topics": [
        "surveil-package",
        "surveil"
      ]
    },
    {
      "page": "apc",
      "title": "Annual and cumulative percent change",
      "topics": [
        "apc",
        "apc.stand_surveil",
        "apc.surveil"
      ]
    },
    {
      "page": "cancer",
      "title": "US cancer incidence by age, 1999-2017",
      "topics": [
        "cancer"
      ]
    },
    {
      "page": "group_diff",
      "title": "Measures of pairwise inequality",
      "topics": [
        "group_diff",
        "group_diff.list",
        "group_diff.surveil"
      ]
    },
    {
      "page": "msa",
      "title": "Colorectal cancer incidence by Texas MSA, 1999-2017, ages 50-79",
      "topics": [
        "msa"
      ]
    },
    {
      "page": "plot.surveil",
      "title": "Methods for fitted 'surveil' models",
      "topics": [
        "plot.list",
        "plot.surveil",
        "print.surveil"
      ]
    },
    {
      "page": "theil_methods",
      "title": "Methods for Theil's index",
      "topics": [
        "plot.theil",
        "plot.theil_list",
        "print.theil",
        "print.theil_list"
      ]
    },
    {
      "page": "print.apc",
      "title": "Methods for APC objects",
      "topics": [
        "plot.apc",
        "print.apc"
      ]
    },
    {
      "page": "stand_surveil",
      "title": "Methods for age-standardized rates",
      "topics": [
        "plot.stand_surveil",
        "print.stand_surveil"
      ]
    },
    {
      "page": "priors",
      "title": "Prior distributions",
      "topics": [
        "lkj",
        "normal",
        "priors"
      ]
    },
    {
      "page": "stan_rw",
      "title": "Time series models for mortality and disease incidence",
      "topics": [
        "stan_rw"
      ]
    },
    {
      "page": "standard",
      "title": "2000 U.S. standard million population",
      "topics": [
        "standard"
      ]
    },
    {
      "page": "standardize",
      "title": "Age-standardized rates",
      "topics": [
        "standardize"
      ]
    },
    {
      "page": "surveil_diff",
      "title": "Methods for 'surveil_diff' objects",
      "topics": [
        "plot.surveil_diff",
        "print.surveil_diff",
        "surveil_diff"
      ]
    },
    {
      "page": "theil",
      "title": "Theil's inequality index",
      "topics": [
        "theil",
        "theil.list",
        "theil.surveil",
        "theil2"
      ]
    },
    {
      "page": "waic",
      "title": "Widely Applicable Information Criteria",
      "topics": [
        "waic"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/surveil/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/surveil/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrayhelpers",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "farver",
    "generics",
    "ggdist",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "quadprog",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "svUnit",
    "tensorA",
    "tibble",
    "tidybayes",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "age-standardization.Rmd",
      "filename": "age-standardization.html",
      "title": "Age-standardized rates",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data",
        "Direct age-standardization",
        "Modeling age-specific risk",
        "Age-standardizing model results",
        "References"
      ],
      "created": "2022-04-03 17:40:02",
      "modified": "2024-07-09 02:45:53",
      "commits": 3
    },
    {
      "source": "surveil-mcmc.Rmd",
      "filename": "surveil-mcmc.html",
      "title": "MCMC with surveil",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example model",
        "MCMC analysis",
        "Monte Carlo standard errors",
        "Rhat",
        "Divergent transitions",
        "References"
      ],
      "created": "2022-08-22 06:50:02",
      "modified": "2024-07-09 02:45:53",
      "commits": 2
    },
    {
      "source": "measuring-inequality.Rmd",
      "filename": "measuring-inequality.html",
      "title": "Measuring health inequality",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Concepts",
        "Demonstration",
        "Comparing age-stratified groups",
        "Measuring inequality with multiple groups",
        "References"
      ],
      "created": "2024-07-09 02:45:53",
      "modified": "2024-07-09 02:45:53",
      "commits": 1
    },
    {
      "source": "surveil-demo.Rmd",
      "filename": "surveil-demo.html",
      "title": "Using surveil for public health research",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Getting started",
        "Preparing the data",
        "Model specification",
        "The basics",
        "Binomial model",
        "Fitting the model",
        "Printing results",
        "Visualizing results",
        "Percent change",
        "MCMC diagnostics",
        "Multiple time series",
        "References"
      ],
      "created": "2022-08-22 06:50:02",
      "modified": "2024-07-09 02:45:53",
      "commits": 2
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "surveil",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://connordonegan.r-universe.dev/surveil",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:27:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/98ecf7f51a9a2df4a92fd412c235dc75248f6fd2a42e95058978e9ed661dc0a6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:29:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/003aa73480c1f59694cdc16a99a985d81a3d216b8a0f90c6072257107f85c1ac",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:27:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/a60ed15f3fd004f2b0fdb5fe99967f1059a344a61c0e9bbd625a5dabf9e7eb1e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:30:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/f74940e3c9abd4dd9fe64f2db8083ecf294c215ebbefbcbc247da1b7e243ddf4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-29T10:30:06.000Z",
      "arch": "emscripten",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/c46801c9b737df1cb87925adec1ab9eaa13189719b6146593d7d210f58512600",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:28:29.000Z",
      "arch": "aarch64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/9773f6ac3b0bbcba25c0ae14c47f9fbf1c7b3b245e5dfdc6f82c8d7ece2b970e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:29:17.000Z",
      "arch": "x86_64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/75c5a20989907b7259c5733f611707b86dfdec6d602ab28964a1d5828dd57bd7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:28:32.000Z",
      "arch": "aarch64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/cb12fa19f3eba6210f620aeae95c381e592ba2e1da7ba8947645a7488d7568d6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:29:09.000Z",
      "arch": "x86_64",
      "commit": "106a82755db59d604541db5a1b33dcd9387dc469",
      "fileid": "https://r2.ropensci.org/76a4a9735c8e8227c92620fdf5d7229419c8fc9e915af26eace842264e582066",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40856097144"
    }
  ]
}