{
  "_id": "6ac36db6d743750d376dbd6f",
  "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-10-05 09:25:05 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/136a0dc5ec8ce6f7b9ed5f53f34852074d0b6da0eacef76f77ddd6686990fa84",
  "_filesize": 966839,
  "_sha256": "136a0dc5ec8ce6f7b9ed5f53f34852074d0b6da0eacef76f77ddd6686990fa84",
  "_expires": "2027-01-13T09:28:20.000Z",
  "_created": "2026-10-05T09:25:05.000Z",
  "_published": "2026-10-05T09:28:22.702Z",
  "_jobs": [
    {
      "job": 111697660272,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11335439034"
    },
    {
      "job": 111697660269,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11336167620"
    },
    {
      "job": 111697660415,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11335858627"
    },
    {
      "job": 111697660260,
      "time": 153,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11335873118"
    },
    {
      "job": 111696460532,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11335214345"
    },
    {
      "job": 111697660235,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11336186978"
    },
    {
      "job": 111697662139,
      "time": 111,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11336077781"
    },
    {
      "job": 111697660267,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11335708970"
    },
    {
      "job": 111697660306,
      "time": 117,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11335962676"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137",
  "_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": 52,
    "description": "Consortium for epidemics analysis and outbreak response using R"
  },
  "_downloads": {
    "count": 489,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "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-10-05T09:27:15.000Z",
      "distro": "resolute",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/aac2211503a9f2ec8de2788bc1613110bc7b66977e51f4472111a6f9ef499f10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-10-05T09:27:31.000Z",
      "distro": "resolute",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/c440629af815464063cab283dadc77e32567d779bd93014701e951c897cef4a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-05T09:26:53.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/fd90e138cb7905f04def9faa5966908d54783c91f310c04180fc3380f45e296a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-10-05T09:27:21.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/cbc04e5b5b3585d760b380fbf75dec5e6357e69d482b46b49ede988450a29bce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-10-05T09:27:40.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/36490d1fd00d81100098cf8d715cc352ca737205f5d772c017b8bc468b1e068e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-05T09:26:44.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/fae9cff0ca3465108a108e62a1f34a3c77fda686b426c3bcadf58df51989ba78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-05T09:26:15.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/deb0268c6540c55db6b3720c6c5f293fe813dd38dd61719400e2b1ff31e0b1ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-10-05T09:26:36.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/43710e6d7b1ba4095dabd56a67a63054f3be7b9bb49b0363c89cf431172f2ce9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/37289499137"
    }
  ]
}