{
  "_id": "6aeafb871e2c7b3a4f5346bc",
  "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-11-04 09:27:55 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/75e32efde8b572dd3c556696c12644249985a64cdecb87596d847d3ed7b18bf4",
  "_filesize": 966850,
  "_sha256": "75e32efde8b572dd3c556696c12644249985a64cdecb87596d847d3ed7b18bf4",
  "_expires": "2027-02-12T09:31:49.000Z",
  "_created": "2026-11-04T09:27:55.000Z",
  "_published": "2026-11-04T09:31:51.083Z",
  "_upstream": "https://github.com/reconhub/epiflows",
  "_status": "success",
  "_maintainer": {
    "name": "Pawel Piatkowski",
    "email": "pawel.piatkowski@posteo.net",
    "orcid": "0000-0002-0822-5592"
  },
  "_jobs": [
    {
      "job": 126498972261,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13310438102"
    },
    {
      "job": 126498972417,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13310357106"
    },
    {
      "job": 126498972675,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13309994536"
    },
    {
      "job": 126498973041,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13310632664"
    },
    {
      "job": 126497159129,
      "time": 229,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13310980800"
    },
    {
      "job": 126498972513,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13310995993"
    },
    {
      "job": 126498972607,
      "time": 104,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13310373009"
    },
    {
      "job": 126498972568,
      "time": 106,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13310243311"
    },
    {
      "job": 126498972572,
      "time": 96,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13309879541"
    }
  ],
  "_buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 338,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/epiflows"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/reconhub/epiflows",
  "_searchresults": 21,
  "_rbuild": "4.6.2",
  "_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-11-04T09:30:18.000Z",
      "distro": "resolute",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/7fc2c563c3912dcc88f27b3f2e30a8cfe37e60709f8c05a3b3faf3ee82c0f7e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-11-04T09:30:20.000Z",
      "distro": "resolute",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/5c936b2c2f8b1057ba5d9dca9f2e100c2cf575b086a7c802bbb49fd6baab2ca6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-11-04T09:30:29.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/6a4d49646799634adba28e3813839a258ea0b8e10c5d925dad2fb84106f00ad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-11-04T09:30:47.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/c4ba009df16c04823e2d7fed207b5840925761fcbd3233459d921149d2c6cf00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-11-04T09:30:17.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/728b42cb64792578dee818608299c39bfd3e7813dc9077001c8f14cbb253c43d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-11-04T09:29:08.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/b2330f129cc755ec7b6e39f0f30180fbd8d38b4debd8aa1f1b471c0cf380e0c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-11-04T09:29:17.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/82a794bce2249f0f80fa1ad0fe3901baa4f5566edf0ffd03b82330cfa00d303f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-11-04T09:29:10.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "https://r2.ropensci.org/3a1622631a10282e6a53b2f9d2f5e7e0600338aa1690d14fed89a230bae3bd73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/41807180773"
    }
  ]
}