{
  "_id": "6aabcae43d719c1f8406edac",
  "Package": "epidm",
  "Version": "1.0.5",
  "Title": "UK Epidemiological Data Management",
  "Authors@R": "c(\nperson(\"Alex\", \"Bhattacharya\", email = \"alex.bhatt@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Alice\", \"Graham\", email = \"graham.alice@gmail.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0003-3000-2771\")),\nperson(\"Harshana\", \"Liyanage\", email = \"harshanal@gmail.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0001-9738-6349\"))\n)",
  "Description": "Contains utilities and functions for the cleaning,\nprocessing and management of patient level public health data\nfor surveillance and analysis held by the UK Health Security\nAgency, UKHSA.",
  "URL": "https://github.com/alexbhatt/epidm,\nhttps://alexbhatt.github.io/epidm/",
  "BugReports": "https://github.com/alexbhatt/epidm/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://epiverse-connect.r-universe.dev",
  "Date/Publication": "2024-08-19 09:33:12 UTC",
  "RemoteUrl": "https://github.com/alexbhatt/epidm",
  "RemoteRef": "HEAD",
  "RemoteSha": "6fa12b907c618e9cc237634ec974531317f2b712",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-17 10:21:31 UTC",
    "User": "root"
  },
  "Author": "Alex Bhattacharya [aut, cre],\nAlice Graham [aut] (ORCID: <https://orcid.org/0000-0003-3000-2771>),\nHarshana Liyanage [aut] (ORCID:\n<https://orcid.org/0000-0001-9738-6349>)",
  "Maintainer": "Alex Bhattacharya <alex.bhatt@gmail.com>",
  "_user": "epiverse-connect",
  "_type": "src",
  "_file": "epidm_1.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/907df5a8f8d19530e872d5ce992b6869c79131bcc29c7356101b48538648e4ac",
  "_filesize": 226929,
  "_sha256": "907df5a8f8d19530e872d5ce992b6869c79131bcc29c7356101b48538648e4ac",
  "_expires": "2026-12-26T11:11:30.000Z",
  "_created": "2026-09-17T10:21:31.000Z",
  "_published": "2026-09-17T11:11:32.037Z",
  "_jobs": [
    {
      "job": 105165253139,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10492030053"
    },
    {
      "job": 105165253142,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10490883810"
    },
    {
      "job": 105165253199,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10494433321"
    },
    {
      "job": 105165253122,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10493323409"
    },
    {
      "job": 105164461210,
      "time": 161,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10490623846"
    },
    {
      "job": 105165253052,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10491013813"
    },
    {
      "job": 105165253216,
      "time": 80,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10491830636"
    },
    {
      "job": 105165253180,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10491494070"
    },
    {
      "job": 105165253228,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10491553859"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598",
  "_status": "success",
  "_upstream": "https://github.com/alexbhatt/epidm",
  "_commit": {
    "id": "6fa12b907c618e9cc237634ec974531317f2b712",
    "author": "Harshana Liyanage <Harshana.Liyanage@ukhsa.gov.uk>",
    "committer": "Harshana Liyanage <Harshana.Liyanage@ukhsa.gov.uk>",
    "message": "Merge branch 'dev'\n",
    "time": 1724059992
  },
  "_maintainer": {
    "name": "Alex Bhattacharya",
    "email": "alex.bhatt@gmail.com",
    "login": "alexbhatt",
    "twitter": "@alexbhatt",
    "description": "Principal Epidemiologist and Field Service Head of Data Science. Primarily working in R.",
    "uuid": 33866404
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "odbc",
      "role": "Imports"
    },
    {
      "package": "phonics",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    }
  ],
  "_owner": "alexbhatt",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 13,
  "_contributors": [
    {
      "user": "alexbhatt",
      "count": 37,
      "uuid": 33866404
    },
    {
      "user": "harshana-ukhsa",
      "count": 33,
      "uuid": 148277171
    },
    {
      "user": "alicegraham",
      "count": 8,
      "uuid": 153922718
    },
    {
      "user": "harshanal",
      "count": 3,
      "uuid": 270178
    }
  ],
  "_userbio": {
    "uuid": 114159794,
    "type": "organization",
    "name": "Epiverse-CONNECT",
    "followers": 6
  },
  "_downloads": {
    "count": 363,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/epidm"
  },
  "_devurl": "https://github.com/alexbhatt/epidm",
  "_pkgdown": "https://alexbhatt.github.io/epidm/",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/epidm.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ukhsa-collaboration/epidm",
  "_realowner": "ukhsa-collaboration",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2022-02-15"
    },
    {
      "version": "1.0.3",
      "date": "2022-07-06"
    },
    {
      "version": "1.0.4",
      "date": "2022-07-12"
    },
    {
      "version": "1.0.6",
      "date": "2026-02-25"
    }
  ],
  "_exports": [
    "cip_spells",
    "csv_from_zip",
    "group_time",
    "inpatient_codes",
    "lookup_recode",
    "proxy_episode_dates",
    "respeciate_generic",
    "sql_clean",
    "sql_connect",
    "sql_read",
    "sql_write",
    "uk_patient_id",
    "valid_nhs"
  ],
  "_datasets": [
    {
      "name": "genus_gram_stain",
      "title": "Bacterial Genus Gram Stain Lookup Table",
      "object": "genus_gram_stain",
      "class": [
        "data.frame"
      ],
      "fields": [
        "organism_genus",
        "gram_stain",
        "gram_positive",
        "gram_negative"
      ],
      "rows": 250,
      "table": true,
      "tojson": true
    },
    {
      "name": "group_ecds_discharge_destination",
      "title": "A&E attendance discharge destination",
      "object": "group_ecds_discharge_destination",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code",
        "destination_code"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "group_inpatient_admission_method",
      "title": "Inpatient admission methods",
      "object": "group_inpatient_admission_method",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code",
        "admission_method"
      ],
      "rows": 18,
      "table": true,
      "tojson": true
    },
    {
      "name": "group_inpatient_discharge_destination",
      "title": "Inpatient discharge destination",
      "object": "group_inpatient_discharge_destination",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code",
        "discharge_destination"
      ],
      "rows": 22,
      "table": true,
      "tojson": true
    },
    {
      "name": "lab_data",
      "title": "Synthetic Lab Data for epidm",
      "object": "lab_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "nhs_number",
        "local_patient_identifier",
        "patient_birth_date",
        "sex",
        "surname",
        "forename",
        "organism_species_name",
        "specimen_date",
        "specimen_type",
        "lab_code",
        "local_authority_name",
        "local_authority_code",
        "postcode"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "respeciate_organism",
      "title": "Respeciated organisms",
      "object": "respeciate_organism",
      "class": [
        "data.frame"
      ],
      "fields": [
        "previous_organism_name",
        "organism_species_name",
        "organism_genus_name",
        "genus_change",
        "genus_all_species"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    },
    {
      "name": "specimen_type_grouping",
      "title": "Specimen type grouping",
      "object": "specimen_type_grouping",
      "class": [
        "data.frame"
      ],
      "fields": [
        "specimen_type",
        "specimen_group"
      ],
      "rows": 143,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cip_spells",
      "title": "Continuous Inpatient (CIP) Spells",
      "topics": [
        "cip_spells"
      ]
    },
    {
      "page": "csv_from_zip",
      "title": "Download a csv from a zip",
      "topics": [
        "csv_from_zip"
      ]
    },
    {
      "page": "genus_gram_stain",
      "title": "Bacterial Genus Gram Stain Lookup Table",
      "topics": [
        "genus_gram_stain"
      ]
    },
    {
      "page": "group_ecds_discharge_destination",
      "title": "A&E attendance discharge destination",
      "topics": [
        "group_ecds_discharge_destination"
      ]
    },
    {
      "page": "group_inpatient_admission_method",
      "title": "Inpatient admission methods",
      "topics": [
        "group_inpatient_admission_method"
      ]
    },
    {
      "page": "group_inpatient_discharge_destination",
      "title": "Inpatient discharge destination",
      "topics": [
        "group_inpatient_discharge_destination"
      ]
    },
    {
      "page": "group_time",
      "title": "Grouping of intervals or events in time together",
      "topics": [
        "group_time"
      ]
    },
    {
      "page": "hospital_in_out_dates",
      "title": "Hospital IN/OUT dates",
      "topics": [
        "hospital_in_out_dates"
      ]
    },
    {
      "page": "inpatient_codes",
      "title": "Inpatient Codes cleanup",
      "topics": [
        "inpatient_codes"
      ]
    },
    {
      "page": "lab_data",
      "title": "Synthetic Lab Data for epidm",
      "topics": [
        "lab_data"
      ]
    },
    {
      "page": "lookup_recode",
      "title": "Lookup table switch handler",
      "topics": [
        "lookup_recode"
      ]
    },
    {
      "page": "proxy_episode_dates",
      "title": "HES/SUS Episode Date Cleaning",
      "topics": [
        "proxy_episode_dates"
      ]
    },
    {
      "page": "respeciate_generic",
      "title": "Respeciate unspecified samples",
      "topics": [
        "respeciate_generic"
      ]
    },
    {
      "page": "respeciate_organism",
      "title": "Respeciated organisms",
      "topics": [
        "respeciate_organism"
      ]
    },
    {
      "page": "specimen_type_grouping",
      "title": "Specimen type grouping",
      "topics": [
        "specimen_type_grouping"
      ]
    },
    {
      "page": "sql_clean",
      "title": "Clean and Read a SQL query",
      "topics": [
        "sql_clean"
      ]
    },
    {
      "page": "sql_connect",
      "title": "Connect to a SQL database",
      "topics": [
        "sql_connect"
      ]
    },
    {
      "page": "sql_read",
      "title": "Read a table from a SQL database",
      "topics": [
        "sql_read"
      ]
    },
    {
      "page": "sql_write",
      "title": "Write a table to a SQL database",
      "topics": [
        "sql_write"
      ]
    },
    {
      "page": "uk_patient_id",
      "title": "Patient ID record grouping",
      "topics": [
        "uk_patient_id"
      ]
    },
    {
      "page": "valid_nhs",
      "title": "NHS Number Validity Check",
      "topics": [
        "valid_nhs"
      ]
    }
  ],
  "_readme": "https://github.com/alexbhatt/epidm/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "blob",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "data.table",
    "DBI",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "lubridate",
    "magrittr",
    "odbc",
    "phonics",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_score": 3.2900346113625183,
  "_indexed": false,
  "_nocasepkg": "epidm",
  "_universes": [
    "epiverse-connect"
  ],
  "_indexurl": "https://ukhsa-collaboration.r-universe.dev/epidm",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-09-17T10:23:30.000Z",
      "distro": "resolute",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/b3a81d368398794c532e44f77095161451cbcada15efece8ee967b09b239cebb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-09-17T10:23:31.000Z",
      "distro": "resolute",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/4a138d86d49cf872252e0ca4f09a9467ba174d0a45906154d8bde36ae64ee22c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-09-17T11:10:32.000Z",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/86bf84fc16e209efb2a66e2406ec54dc919cd75af4a7c0933f65ce80abfc1815",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-09-17T11:10:46.000Z",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/81c4006ae7693bc48138833a5e38c64a10d3c229b9e2ad8b63edfb3ff6c9416d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-09-17T10:23:41.000Z",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/ee86477a4506e188671dc2f075579ac06d90048ccdfca6ab4aa8882ceb28f495",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-09-17T10:22:35.000Z",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/2272dde91e237ae2b465113d0158badcd7f4cd6a579aa171e7b83b55337f833e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-09-17T10:22:39.000Z",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/e3807fd512d2875dfff351f836ff2288b3119012ffeddb80145dd61d8290edee",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-09-17T10:22:49.000Z",
      "commit": "6fa12b907c618e9cc237634ec974531317f2b712",
      "fileid": "https://r2.ropensci.org/7259000cdea5b538aa5097f7e2e8f6b8939729f09294e8f1f7aaefbf81a1066d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35209812598"
    }
  ]
}