{
  "_id": "6a10618facfb0bcc41ca7b00",
  "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-05-08 08:08:28 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": "09afb41a759be2483e58e31bb1f6c18c",
  "_user": "reconhub",
  "_type": "src",
  "_file": "epiflows_0.2.2.tar.gz",
  "_fileid": "72fe7a382497ec9f189a3f953ec71f0bda6fcbdc793adaf47909cd1a5cb781d8",
  "_filesize": 970691,
  "_sha256": "72fe7a382497ec9f189a3f953ec71f0bda6fcbdc793adaf47909cd1a5cb781d8",
  "_created": "2026-05-08T08:08:28.000Z",
  "_published": "2026-05-22T14:00:47.290Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77394759916,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6874757464"
    },
    {
      "job": 77394760155,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874759479"
    },
    {
      "job": 77394759510,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6874741142"
    },
    {
      "job": 77394759677,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874747940"
    },
    {
      "job": 77394759411,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874713157"
    },
    {
      "job": 77394759237,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162340846"
    },
    {
      "job": 77394759966,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6874741398"
    },
    {
      "job": 77394760314,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6874738882"
    },
    {
      "job": 77394759520,
      "time": 112,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874742318"
    }
  ],
  "_buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672",
  "_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": 312,
    "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.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-05-08T08:11:03.000Z",
      "distro": "noble",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "857c1bc14a1095c436cfd759e47ec86b3fc9bfa3c6f983423530464c5292c13b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-08T08:11:11.000Z",
      "distro": "noble",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "c5a6bcd04daae7627719f71b48d92e9ee69403d6101966df0aa92ff73011d7af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-08T08:10:09.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "013b00b235760836013a2bb13e057155a733725c5c0330142bff42095d7d3694",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-08T08:10:25.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "9ce5d083c3cf1d30ff09e0e58d3c64090fe8dff746a8d8e429e701aae5aa5c33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-08T08:09:52.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "294111e9deb2df8c5bd512c0a156ae116f3772683af153eb4180fc3f40890bbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-08T08:09:44.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "1331b043f27dcf578f3d3a9507a0243dc557dfb1867e2eb4bfc3beaadb4bdd5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-08T08:09:44.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "e50032a56bb5720c7e8cb20e54cf57d1c363bd7bb2a42b86eea3bb1d368edd22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-05-22T14:00:00.000Z",
      "commit": "79c8bc5f0dd794163bdd8679d5d9f462eba3e0e9",
      "fileid": "63d0675c4c2e002d72569917f73266251bf5029ebb7b67823eb4ea268a39342a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reconhub/actions/runs/25544530672"
    }
  ]
}