{
  "_id": "6a2521994b233be1983910b9",
  "Package": "epiflows",
  "Title": "Predicting Disease Spread from Flow Data",
  "Version": "0.2.2",
  "Authors@R": "c(person(\"Pawel\", \"Piatkowski\", email = \"pawel.piatkowski@posteo.net\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0822-5592\")),\nperson(\"Paula\", \"Moraga\", email = \"p.e.moraga-serrano@lancaster.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5266-0201\")),\nperson(\"Isobel\", \"Blake\", email = \"isobel.blake@imperial.ac.uk\", role = c(\"ctb\", \"dtc\")),\nperson(\"Thibaut\", \"Jombart\", email = \"thibautjombart@gmail.com\", role = \"aut\"),\nperson(\"VP\", \"Nagraj\", email = \"vpnagraj@virginia.edu\", role = \"aut\"),\nperson(\"Zhian N.\", \"Kamvar\", email = \"zkamvar@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-1458-7108\")),\nperson(\"Salla E.\", \"Toikkanen\", email = \"Salla.e.toikkanen@gmail.com\", role = \"aut\"))",
  "Description": "Provides functions and classes designed to handle and\nvisualise epidemiological flows between locations. Also\ncontains a statistical method for predicting disease spread\nfrom flow data initially described in Dorigatti et al. (2017)\n<doi:10.2807/1560-7917.ES.2017.22.28.30572>. This package is\npart of the RECON (<https://www.repidemicsconsortium.org/>)\ntoolkit for outbreak analysis.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "URL": "https://www.repidemicsconsortium.org/epiflows/,\nhttps://github.com/reconhub/epiflows",
  "BugReports": "https://github.com/reconhub/epiflows/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibglpk-dev make libicu-dev libjpeg-dev libpng-dev libuv1-dev\nlibxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://reconhub.r-universe.dev",
  "Date/Publication": "2026-03-09 08:17:53 UTC",
  "RemoteUrl": "https://github.com/reconhub/epiflows",
  "RemoteRef": "HEAD",
  "RemoteSha": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 07:41:48 UTC",
    "User": "root"
  },
  "Author": "Pawel Piatkowski [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0822-5592>),\nPaula Moraga [aut] (ORCID: <https://orcid.org/0000-0001-5266-0201>),\nIsobel Blake [ctb, dtc],\nThibaut Jombart [aut],\nVP Nagraj [aut],\nZhian N. Kamvar [aut] (ORCID: <https://orcid.org/0000-0003-1458-7108>),\nSalla E. Toikkanen [aut]",
  "Maintainer": "Pawel Piatkowski <pawel.piatkowski@posteo.net>",
  "MD5sum": "ae494bb0d5376d9a914da0eb0e7acea3",
  "_user": "reconhub",
  "_type": "src",
  "_file": "epiflows_0.2.2.tar.gz",
  "_fileid": "0cfd9e884977a92a1221ce30af1f8c3f526920e481af8aaa786a7645b69dee20",
  "_filesize": 965922,
  "_sha256": "0cfd9e884977a92a1221ce30af1f8c3f526920e481af8aaa786a7645b69dee20",
  "_created": "2026-06-07T07:41:48.000Z",
  "_published": "2026-06-07T07:45:29.630Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79941666486,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462021547"
    },
    {
      "job": 79941666534,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462021229"
    },
    {
      "job": 79941666494,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462013163"
    },
    {
      "job": 79941666477,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462017409"
    },
    {
      "job": 79941448180,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461999101"
    },
    {
      "job": 79941666484,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462017885"
    },
    {
      "job": 79941666499,
      "time": 137,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462017235"
    },
    {
      "job": 79941666492,
      "time": 181,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462022750"
    },
    {
      "job": 79941666493,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462013403"
    }
  ],
  "_buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/reconhub/epiflows",
  "_commit": {
    "id": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
    "author": "Paweł Piątkowski <cosi11255@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #50 from rhijmans/master\n\nupdate for current geosphere",
    "time": 1773044273
  },
  "_maintainer": {
    "name": "Pawel Piatkowski",
    "email": "pawel.piatkowski@posteo.net",
    "orcid": "0000-0002-0822-5592"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "epicontacts",
      "role": "Imports"
    },
    {
      "package": "leaflet",
      "role": "Imports"
    },
    {
      "package": "ggmap",
      "role": "Imports"
    },
    {
      "package": "geosphere",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "visNetwork",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "outbreaks",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "reconhub",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 3
    },
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2.2",
      "date": "2026-02-19"
    }
  ],
  "_topics": [
    "outbreak"
  ],
  "_stars": 19,
  "_contributors": [
    {
      "user": "zkamvar",
      "count": 171,
      "uuid": 3639446
    },
    {
      "user": "cosi1",
      "count": 40,
      "uuid": 1132922
    },
    {
      "user": "thibautjombart",
      "count": 15,
      "uuid": 10757154
    },
    {
      "user": "vpnagraj",
      "count": 13,
      "uuid": 8546787
    },
    {
      "user": "bisaloo",
      "count": 3,
      "uuid": 10783929
    },
    {
      "user": "jamesabaker",
      "count": 1,
      "uuid": 6866798
    },
    {
      "user": "rhijmans",
      "count": 1,
      "uuid": 11481397
    }
  ],
  "_userbio": {
    "uuid": 20286215,
    "type": "organization",
    "name": "R Epidemics Consortium",
    "description": "Consortium for epidemics analysis and outbreak response using R"
  },
  "_downloads": {
    "count": 223,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/epiflows"
  },
  "_devurl": "https://github.com/reconhub/epiflows",
  "_pkgdown": "https://www.repidemicsconsortium.org/epiflows/",
  "_searchresults": 21,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/epiflows.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/reconhub/epiflows",
  "_realowner": "reconhub",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2018-08-14"
    },
    {
      "version": "0.2.1",
      "date": "2023-04-09"
    },
    {
      "version": "0.2.2",
      "date": "2026-02-20"
    }
  ],
  "_exports": [
    "add_coordinates",
    "as.SpatialLinesDataFrame",
    "estimate_risk_spread",
    "get_coordinates",
    "get_flows",
    "get_id",
    "get_locations",
    "get_n",
    "get_pop_size",
    "get_vars",
    "global_vars",
    "grid_epiflows",
    "make_epiflows",
    "map_epiflows",
    "set_vars",
    "set_vars<-",
    "vis_epiflows"
  ],
  "_datasets": [
    {
      "name": "Brazil_epiflows",
      "title": "Yellow Fever Data from Brazil; 2016-12 to 2017-05",
      "object": "Brazil_epiflows",
      "class": [
        "epiflows",
        "epicontacts"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "YF_Brazil",
      "title": "Yellow Fever Data from Brazil; 2016-12 to 2017-05",
      "object": "YF_Brazil",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "YF_coordinates",
      "title": "Yellow Fever Data from Brazil; 2016-12 to 2017-05",
      "object": "YF_coordinates",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "lon",
        "lat"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "YF_flows",
      "title": "Yellow Fever Data from Brazil; 2016-12 to 2017-05",
      "object": "YF_flows",
      "class": [
        "data.frame"
      ],
      "fields": [
        "from",
        "to",
        "n"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "YF_locations",
      "title": "Yellow Fever Data from Brazil; 2016-12 to 2017-05",
      "object": "YF_locations",
      "class": [
        "data.frame"
      ],
      "fields": [
        "location_code",
        "location_population",
        "num_cases_time_window",
        "first_date_cases",
        "last_date_cases",
        "length_of_stay"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "sub-.epiflows",
      "title": "Subset `epiflows` objects",
      "topics": [
        "[.epiflows"
      ]
    },
    {
      "page": "add_coordinates",
      "title": "Add/Retrieve location coordinates",
      "topics": [
        "add_coordinates",
        "get_coordinates",
        "get_coordinates.epiflows"
      ]
    },
    {
      "page": "as.SpatialLinesDataFrame",
      "title": "Convert to SpatialLinesDataFrame class",
      "topics": [
        "as.SpatialLinesDataFrame",
        "as.SpatialLinesDataFrame.epiflows"
      ]
    },
    {
      "page": "epiflows",
      "title": "epiflows",
      "topics": [
        "epiflows-package",
        "epiflows"
      ]
    },
    {
      "page": "estimate_risk_spread",
      "title": "Travel-related disease cases spreaded to other locations from an infectious location",
      "topics": [
        "estimate_risk_spread",
        "estimate_risk_spread.default",
        "estimate_risk_spread.epiflows"
      ]
    },
    {
      "page": "get_flows",
      "title": "Access flow data",
      "topics": [
        "get_flows",
        "get_flows.epiflows"
      ]
    },
    {
      "page": "get_id",
      "title": "Access population identifiers in epiflows objects",
      "topics": [
        "get_id"
      ]
    },
    {
      "page": "get_locations",
      "title": "Access flow data",
      "topics": [
        "get_locations",
        "get_locations.epiflows"
      ]
    },
    {
      "page": "get_n",
      "title": "get the number of cases per flow",
      "topics": [
        "get_n",
        "get_n.epiflows"
      ]
    },
    {
      "page": "get_pop_size",
      "title": "Get population size for each entry in locations",
      "topics": [
        "get_pop_size",
        "get_pop_size.epiflows"
      ]
    },
    {
      "page": "get_vars",
      "title": "Access location metadata",
      "topics": [
        "get_vars",
        "get_vars.epiflows",
        "set_vars",
        "set_vars.epiflows",
        "set_vars<-",
        "set_vars<-.epiflows"
      ]
    },
    {
      "page": "global_vars",
      "title": "Epiflow Global Variables",
      "topics": [
        "epiflows.vars",
        "global_vars"
      ]
    },
    {
      "page": "grid_epiflows",
      "title": "Visualise epidemic flows using a grid",
      "topics": [
        "grid_epiflows"
      ]
    },
    {
      "page": "make_epiflows",
      "title": "Create an epiflows object",
      "topics": [
        "make_epiflows",
        "make_epiflows.data.frame",
        "make_epiflows.integer",
        "make_epiflows.numeric"
      ]
    },
    {
      "page": "map_epiflows",
      "title": "Map flows of people between locations",
      "topics": [
        "map_epiflows"
      ]
    },
    {
      "page": "plot.epiflows",
      "title": "Various plots for epiflows objects",
      "topics": [
        "plot.epiflows"
      ]
    },
    {
      "page": "print.epiflows",
      "title": "Print method from epiflows objects",
      "topics": [
        "print.epiflows"
      ]
    },
    {
      "page": "vis_epiflows",
      "title": "Visualise epidemic flows using visNetwork",
      "topics": [
        "vis_epiflows"
      ]
    },
    {
      "page": "YF_Brazil",
      "title": "Yellow Fever Data from Brazil; 2016-12 to 2017-05",
      "topics": [
        "Brazil_epiflows",
        "YF_Brazil",
        "YF_coordinates",
        "YF_flows",
        "YF_locations"
      ]
    }
  ],
  "_readme": "https://github.com/reconhub/epiflows/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bitops",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crosstalk",
    "curl",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "epicontacts",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "geosphere",
    "ggmap",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "igraph",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lazyeval",
    "leaflet",
    "leaflet.providers",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "sp",
    "stringi",
    "stringr",
    "sys",
    "terra",
    "threejs",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "withr",
    "wk",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "00 epiflows: package overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installing the package",
        "What does it do?",
        "Estimation of risk",
        "Example",
        "Data structure to store flows and metadata",
        "Basic methods",
        "Plotting",
        "Accessors",
        "References"
      ],
      "created": "2017-09-02 20:14:41",
      "modified": "2018-08-14 14:19:20",
      "commits": 4
    },
    {
      "source": "epiflows-class.Rmd",
      "filename": "epiflows-class.html",
      "title": "01 Data Preparation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Construction of the epiflows object from data frames",
        "Using set_vars() to update variable keys in the object",
        "Example: different durations of stay",
        "data preparation",
        "Using set_vars()",
        "Using a custom argument",
        "References"
      ],
      "created": "2018-07-30 10:10:44",
      "modified": "2018-08-02 10:38:27",
      "commits": 2
    }
  ],
  "_score": 6.6801541417343735,
  "_indexed": true,
  "_nocasepkg": "epiflows",
  "_universes": [
    "reconhub"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-07T07:44:20.000Z",
      "distro": "noble",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "7a4800346d8f485f00323dd7cc5452e96505b77e6289df118db4548b60b6c48c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-07T07:44:18.000Z",
      "distro": "noble",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "a0a75c52a9a5c9c928a2ae44ea246d2bdf2302b4c6bd50f07c2c587f9db7727d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-06-07T07:43:28.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "320f11919d159db62de45cbc0c58b9e97737f69815a2c14dbb3160e9cd550ecb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-06-07T07:43:44.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "e3894f936f4c2c1f65e5f705fcf63bcac0202ce63fd48c63b50176002680af83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-06-07T07:44:28.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "3063e7e136f86ae9267af9ffa9cf3d121111ff1777bf908e9c5a5ae81ee280f7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-07T07:43:39.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "290c2b595dd81097a3ec8c8ba91104c03ad341a1120f3f5e593a496d90fed950",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-07T07:43:21.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "7ebfcdfad9ae3bbd3c2acc5bd61c7a47c413733f27ce458500c3c9f615df781c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-07T07:43:08.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "f769e9ae7acabc1658aa39947646f24dcf6d7585afc04f2948634fed3d349e4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/27086333905"
    }
  ]
}