{
  "_id": "6aca35c2fe5cc25786e852e5",
  "Package": "vimpact",
  "Title": "Vaccine Impact Calculation",
  "Version": "0.1.6",
  "Authors@R": "c(person(given = \"Xiang\",\nfamily = \"Li\",\nrole = c(\"aut\", \"cre\"),\nemail = \"x.li@imperial.ac.uk\"),\nperson(\"Imperial College of Science, Technology and Medicine\",\nrole = \"cph\"))",
  "Description": "VIMC IMPACT CALCULATION PACKAGE. This package is mainly\nfor the VIMC Science Team to investigate vaccination impact.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Remotes": [
    "reside-ic/fakerbase"
  ],
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev libssl-dev libpq-dev",
  "Repository": "https://vimc.r-universe.dev",
  "Date/Publication": "2025-11-06 15:10:44 UTC",
  "RemoteUrl": "https://github.com/vimc/vimpact",
  "RemoteRef": "master",
  "RemoteSha": "ca37541f9445bf5ef20431964537f5c438c46a4f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 12:50:08 UTC",
    "User": "root"
  },
  "Author": "Xiang Li [aut, cre],\nImperial College of Science, Technology and Medicine [cph]",
  "Maintainer": "Xiang Li <x.li@imperial.ac.uk>",
  "_user": "vimc",
  "_type": "src",
  "_file": "vimpact_0.1.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/bbf4b3fc45c2e759a749fa74e49ab9ce36943d50dedb7b8d9f0693a20b19f5f2",
  "_filesize": 1767912,
  "_sha256": "bbf4b3fc45c2e759a749fa74e49ab9ce36943d50dedb7b8d9f0693a20b19f5f2",
  "_expires": "2027-01-18T12:55:28.000Z",
  "_created": "2026-10-10T12:50:08.000Z",
  "_published": "2026-10-10T12:55:30.413Z",
  "_buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114217035406,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11669733191"
    },
    {
      "job": 114217035409,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11670726973"
    },
    {
      "job": 114217035360,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11670017703"
    },
    {
      "job": 114217035378,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11670322375"
    },
    {
      "job": 114216470658,
      "time": 190,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670701753"
    },
    {
      "job": 114217035379,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11670442296"
    },
    {
      "job": 114217035405,
      "time": 280,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11670372581"
    },
    {
      "job": 114217035415,
      "time": 250,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11670921286"
    },
    {
      "job": 114217035427,
      "time": 254,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11670527336"
    }
  ],
  "_upstream": "https://github.com/vimc/vimpact",
  "_commit": {
    "id": "ca37541f9445bf5ef20431964537f5c438c46a4f",
    "author": "xiangli313 <xiang.li313@gmail.com>",
    "committer": "Pratik Gupte <pratikgupte16@gmail.com>",
    "message": "update test\n",
    "time": 1762441844
  },
  "_maintainer": {
    "name": "Xiang Li",
    "email": "x.li@imperial.ac.uk",
    "login": "xiangli313",
    "description": "",
    "uuid": 26968564
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "dbplyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "RPostgres",
      "role": "Imports"
    },
    {
      "package": "vaultr",
      "role": "Imports"
    },
    {
      "package": "fakerbase",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "mockr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "retry",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RSQLite",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "vimc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "r-ash",
      "count": 192,
      "uuid": 39248272
    },
    {
      "user": "xiangli313",
      "count": 138,
      "uuid": 26968564
    },
    {
      "user": "richfitz",
      "count": 16,
      "uuid": 1558093
    },
    {
      "user": "hillalex",
      "count": 9,
      "uuid": 6736820
    },
    {
      "user": "kgaythorpe",
      "count": 8,
      "uuid": 16716630
    },
    {
      "user": "susyelo",
      "count": 4,
      "uuid": 4990693
    },
    {
      "user": "weshinsley",
      "count": 1,
      "uuid": 9009312
    },
    {
      "user": "jaspreetoor",
      "count": 1,
      "uuid": 61472011
    }
  ],
  "_userbio": {
    "uuid": 26278316,
    "type": "organization",
    "name": "Vaccine Impact Modelling Consortium",
    "followers": 14
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/vimpact"
  },
  "_devurl": "https://github.com/vimc/vimpact",
  "_searchresults": 7,
  "_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/vimpact.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "calculate_impact",
    "calculate_impact_from_recipe",
    "cohort_deaths_all_cause",
    "extract_vaccination_history",
    "fetch_stochastic_data",
    "fetch_stochastic_data_year_groups",
    "get_population",
    "get_touchstone",
    "impact_by_birth_year",
    "impact_by_calendar_year",
    "impact_by_year_of_vaccination_activity_type",
    "impact_by_year_of_vaccination_birth_cohort",
    "impact_by_year_of_vaccination_cohort_perspective",
    "impact_by_year_of_vaccination_country_perspective",
    "recipe_template"
  ],
  "_help": [
    {
      "page": "calculate_impact",
      "title": "Calculate impact - requires a DB connection to montagu.",
      "topics": [
        "calculate_impact"
      ]
    },
    {
      "page": "calculate_impact_from_recipe",
      "title": "Calculate impact from a recipe - requires a DB connection to montagu.",
      "topics": [
        "calculate_impact_from_recipe"
      ]
    },
    {
      "page": "cohort_deaths_all_cause",
      "title": "Extract demographic data - all couse mortality, live birth and under5 mortality rate",
      "topics": [
        "cohort_deaths_all_cause"
      ]
    },
    {
      "page": "extract_vaccination_history",
      "title": "Generate target, fvps, coverage for a touchstone This function pulls vaccination and population data from Montagu database, and transform them into target, coverage and fvps. There are two modes of pulling population data: 1.) through touchstone_pop parameter 2.) through demographic_source parameter touchstone_pop is one of touchstone_demographic_dataset.touchstone; this parameter is null-able, when it is null, touchstone_cov is used demographic_source is one of demographic_source.code; by default it is null, when it is not null, it rulls out touchstone_pop parameter",
      "topics": [
        "extract_vaccination_history"
      ]
    },
    {
      "page": "fetch_stochastic_data",
      "title": "Get data from stochastic tables with specified grouping and filters",
      "topics": [
        "fetch_stochastic_data"
      ]
    },
    {
      "page": "fetch_stochastic_data_year_groups",
      "title": "Get data from stochastic tables with specified grouping and filters",
      "topics": [
        "fetch_stochastic_data_year_groups"
      ]
    },
    {
      "page": "get_population",
      "title": "Extract demographic data",
      "topics": [
        "get_population"
      ]
    },
    {
      "page": "get_touchstone",
      "title": "Determine touchstone",
      "topics": [
        "get_touchstone"
      ]
    },
    {
      "page": "get_touchstone_id",
      "title": "Determine touchstone id",
      "topics": [
        "get_touchstone_id"
      ]
    },
    {
      "page": "impact_by_birth_year",
      "title": "Calculate impact by birth year (lifetime impact)",
      "topics": [
        "impact_by_birth_year"
      ]
    },
    {
      "page": "impact_by_calendar_year",
      "title": "Calculate impact by calendar year",
      "topics": [
        "impact_by_calendar_year"
      ]
    },
    {
      "page": "impact_by_year_of_vaccination_activity_type",
      "title": "Calculate impact by year of vaccination: activity type",
      "topics": [
        "impact_by_year_of_vaccination_activity_type"
      ]
    },
    {
      "page": "impact_by_year_of_vaccination_birth_cohort",
      "title": "Calculate impact by year of vaccination: birth cohort",
      "topics": [
        "impact_by_year_of_vaccination_birth_cohort"
      ]
    },
    {
      "page": "impact_by_year_of_vaccination_cohort_perspective",
      "title": "Calculate impact by year of vaccination cohort perspective",
      "topics": [
        "impact_by_year_of_vaccination_cohort_perspective"
      ]
    },
    {
      "page": "impact_by_year_of_vaccination_country_perspective",
      "title": "Calculate impact by year of vaccination country perspective",
      "topics": [
        "impact_by_year_of_vaccination_country_perspective"
      ]
    },
    {
      "page": "recipe_template",
      "title": "Impact recipe template",
      "topics": [
        "recipe_template"
      ]
    }
  ],
  "_readme": "https://github.com/vimc/vimpact/raw/master/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "blob",
    "cli",
    "cpp11",
    "curl",
    "DBI",
    "dbplyr",
    "dplyr",
    "generics",
    "getPass",
    "glue",
    "hms",
    "httr",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "RPostgres",
    "rstudioapi",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vaultr",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "using-vimpact.Rmd",
      "filename": "using-vimpact.html",
      "title": "Using vimpact for estimating vaccine impact",
      "author": "Rob Ashton, Xiang Li, Katy Gaythorpe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data",
        "Impact by calendar year (cross-sectional impact)",
        "Impact by birth year (lifetime impact)",
        "Impact by year of vaccination",
        "Impact by year of vaccination: impact ratio stratified by activity type",
        "Impact by year of vaccination: impact ratio stratified by birth cohort",
        "Glossary"
      ],
      "created": "2021-08-19 17:16:50",
      "modified": "2025-02-26 13:59:31",
      "commits": 2
    },
    {
      "source": "internal-impact.Rmd",
      "filename": "internal-impact.html",
      "title": "Using vimpact for estimating vaccine impact - internal",
      "author": "Rob Ashton, Xiang Li, Katy Gaythorpe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Impact by calendar year & impact by birth year",
        "Function interface",
        "Recipe interface",
        "Impact by year of vaccination",
        "Comparison",
        "HepB",
        "Measles",
        "Comparisons of HepB, Measles & YF"
      ],
      "created": "2021-11-11 11:47:51",
      "modified": "2025-02-26 14:21:57",
      "commits": 4
    },
    {
      "source": "vignette.Rmd",
      "filename": "vignette.html",
      "title": "Using vimpact for estimating vaccine impact - VIMC members",
      "author": "Xiang Li",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Frequently used functions communicating with Montagu database",
        "Annex views (Susy to add)",
        "Vaccine impact calculations"
      ],
      "created": "2021-08-19 17:16:50",
      "modified": "2021-11-11 11:47:51",
      "commits": 2
    }
  ],
  "_score": 4.623249290397901,
  "_indexed": true,
  "_nocasepkg": "vimpact",
  "_universes": [
    "vimc",
    "xiangli313"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-10-10T12:52:20.000Z",
      "distro": "resolute",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/b1f3375e27f054232e382aadab3023a32b3938ee219cc6d8e8db788e38c927f0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-10-10T12:52:59.000Z",
      "distro": "resolute",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/68b626c21832e31970e9abe8d934297ee3914ce3732af73138d82fcb2a1d2fe0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-10-10T12:51:50.000Z",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/0442dfa1d2cd3f2fc93b1d4241f28595189f21188f4354b79863904e10731655",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-10-10T12:52:18.000Z",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/ad5601b2472f923d98dc6a8d752e561592d8810fd0acd72205b0c6ee3d219d2e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.6",
      "date": "2026-10-10T12:52:13.000Z",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/1615299a3b5a8176837796dff90622ec2313935d6954a9c157e53da0bdd52fdd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-10T12:52:14.000Z",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/95482f1bf185a37f93a0b1dc8bff1cff5509d136eb1b3688b36f5602a61a54d1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-10T12:51:41.000Z",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/4e9b5148f92b30e01a84550359fb2c6acf361ea7b7ddef055693ed4e9e0b96db",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-10T12:51:52.000Z",
      "commit": "ca37541f9445bf5ef20431964537f5c438c46a4f",
      "fileid": "https://r2.ropensci.org/00a6ac068781aa1c08ce23d5154f6b73e9ac1816e77678baa914318aef13415e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/vimc/actions/runs/38053224686"
    }
  ]
}