{
  "_id": "6a4caa7407c3fd5c3260f16b",
  "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-07-07 07:24:09 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>",
  "_user": "reconhub",
  "_type": "src",
  "_file": "epiflows_0.2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/750d15226171f8a15038c7050e4d82c68e2c0c4809a8f1d1312a57225dd94ddc",
  "_filesize": 968275,
  "_sha256": "750d15226171f8a15038c7050e4d82c68e2c0c4809a8f1d1312a57225dd94ddc",
  "_expires": "2026-10-15T07:27:46.000Z",
  "_created": "2026-07-07T07:24:09.000Z",
  "_published": "2026-07-07T07:27:48.229Z",
  "_jobs": [
    {
      "job": 85559670418,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130818560"
    },
    {
      "job": 85559670396,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130806717"
    },
    {
      "job": 85559670443,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130785269"
    },
    {
      "job": 85559670488,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130806128"
    },
    {
      "job": 85559019620,
      "time": 228,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130752707"
    },
    {
      "job": 85559670467,
      "time": 173,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8130814787"
    },
    {
      "job": 85559670471,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130787854"
    },
    {
      "job": 85559670476,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130793649"
    },
    {
      "job": 85559670473,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130787617"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 47,
    "description": "Consortium for epidemics analysis and outbreak response using R"
  },
  "_downloads": {
    "count": 392,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/epiflows"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/reconhub/epiflows",
  "_pkgdown": "https://www.repidemicsconsortium.org/epiflows/",
  "_searchresults": 21,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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-07-07T07:26:50.000Z",
      "distro": "resolute",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/92c9ffb8eb7d074041b48a613f73c0d1e8cc34066e42cd875ec80a8ec40e87b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-07-07T07:26:24.000Z",
      "distro": "resolute",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/486a51ee5ddd9cd7309100ef56a4f6c14c03123dde6852c8699dc7ccb1ad6374",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-07-07T07:25:34.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/7ffc2bc726bdb32cd7e7122a85aed4d50ecd6455c3b1725cf38e32b0acf9dbdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-07-07T07:26:12.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/75f0581825f675a6e9bc3f6fded26f266f4514492e4f4c70414422316ff40707",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-07-07T07:27:19.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/531a3eb755b5f07e82ad32178d9e15d822ed9be2f75b0b535e84f7f3799afd59",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-07-07T07:25:22.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/68564a95adfa38e790f8ca89bb70235b283fa4e5a9f6343206d6f2abe77af937",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-07-07T07:25:32.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/2e5162dfce1be0b8a533d99011e1d119b6130ede54b155857d578c4ae75a7edd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-07-07T07:25:19.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/2cee6f140f00075a76c1d81b9c020b48813aa721c3bc6d4d5a37a14499a164a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/28848835186"
    }
  ]
}