{
  "_id": "6a35278e3efcd9bda43e551e",
  "Package": "specio",
  "Title": "Read Spectrum Files",
  "Version": "0.1.4",
  "Authors@R": "person(given = \"Robert\",\nfamily = \"Ashton\",\nrole = c(\"aut\", \"cre\"),\nemail = \"r.ashton@imperial.ac.uk\")",
  "Description": "Read data from Spectrum PJNZ file into R consumable format\nfor EPP.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Remotes": [
    "mrc-ide/beers"
  ],
  "RoxygenNote": "6.1.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libxml2-dev",
  "Repository": "https://mrc-ide.r-universe.dev",
  "Date/Publication": "2021-04-12 16:43:50 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/specio",
  "RemoteRef": "master",
  "RemoteSha": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-19 11:24:08 UTC",
    "User": "root"
  },
  "Author": "Robert Ashton [aut, cre]",
  "Maintainer": "Robert Ashton <r.ashton@imperial.ac.uk>",
  "MD5sum": "732e7d12dbb94dd6fcf313c42a59925a",
  "_user": "mrc-ide",
  "_type": "src",
  "_file": "specio_0.1.4.tar.gz",
  "_fileid": "c8ff411f3c1944a766bcbb0739fb61b2ee5b65a1a64d313d3dac49bd944c14c2",
  "_filesize": 18529530,
  "_sha256": "c8ff411f3c1944a766bcbb0739fb61b2ee5b65a1a64d313d3dac49bd944c14c2",
  "_created": "2026-06-19T11:24:08.000Z",
  "_published": "2026-06-19T11:27:10.026Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82339851716,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7748549343"
    },
    {
      "job": 82339851706,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7748548124"
    },
    {
      "job": 82339851709,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7748534319"
    },
    {
      "job": 82339851729,
      "time": 85,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7748531843"
    },
    {
      "job": 82339323974,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7748506421"
    },
    {
      "job": 82339851722,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7748536911"
    },
    {
      "job": 82339851763,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7748546277"
    },
    {
      "job": 82339851774,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7748534872"
    },
    {
      "job": 82339851749,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7748532695"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mrc-ide/specio",
  "_commit": {
    "id": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
    "author": "Rob <39248272+r-ash@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #18 from mrc-ide/fix-country-names\n\nFix issues with country name encoding in country list",
    "time": 1618245830
  },
  "_maintainer": {
    "name": "Robert Ashton",
    "email": "r.ashton@imperial.ac.uk",
    "login": "r-ash",
    "description": "🚀 Senior Software Engineer @ Avenir Health 🛠️ Building tools and web applications for epidemiologists and public health program planners",
    "uuid": 39248272
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "beers",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "epp",
    "spectrum"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "r-ash",
      "count": 115,
      "uuid": 39248272
    },
    {
      "user": "richfitz",
      "count": 13,
      "uuid": 1558093
    },
    {
      "user": "jeffeaton",
      "count": 1,
      "uuid": 7427899
    }
  ],
  "_userbio": {
    "uuid": 25453642,
    "type": "organization",
    "name": "MRC Centre for Global Infectious Disease Analysis",
    "followers": 155,
    "description": "MRC Centre hosted within the Department of Infectious Disease Epidemiology at Imperial College London"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/specio"
  },
  "_devurl": "https://github.com/mrc-ide/specio",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/specio.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "read_art_pop",
    "read_epp_data",
    "read_epp_subpops",
    "read_hiv_pop",
    "read_hivproj_param",
    "read_pjn_metadata",
    "read_spt",
    "read_spu",
    "read_total_pop"
  ],
  "_help": [
    {
      "page": "read_art_pop",
      "title": "Extract ART population data from PJNZ file",
      "topics": [
        "read_art_pop"
      ]
    },
    {
      "page": "read_epp_data",
      "title": "Read EPP fitting surveillance data",
      "topics": [
        "read_epp_data"
      ]
    },
    {
      "page": "read_epp_subpops",
      "title": "Read EPP subpopulation configuration.",
      "topics": [
        "read_epp_subpops"
      ]
    },
    {
      "page": "read_hiv_pop",
      "title": "Extract people living with HIV (PLHIV) from PJNZ file",
      "topics": [
        "read_hiv_pop"
      ]
    },
    {
      "page": "read_hivproj_param",
      "title": "Read params from DP and PJN file required for HIV model.",
      "topics": [
        "read_hivproj_param"
      ]
    },
    {
      "page": "read_pjn_metadata",
      "title": "Get country name, iso3 code and spectrum region code from PJNZ",
      "topics": [
        "read_pjn_metadata"
      ]
    },
    {
      "page": "read_spt",
      "title": "Read best fitting HIV incidence and prevalence data from SPT file.",
      "topics": [
        "read_spt"
      ]
    },
    {
      "page": "read_spu",
      "title": "Read EPP uncertainty results from SPU file.",
      "topics": [
        "read_spu"
      ]
    },
    {
      "page": "read_total_pop",
      "title": "Extract population data from PJNZ file",
      "topics": [
        "read_total_pop"
      ]
    }
  ],
  "_readme": "https://github.com/mrc-ide/specio/raw/master/README.md",
  "_rundeps": [
    "beers",
    "cli",
    "rlang",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "pjnz.Rmd",
      "filename": "pjnz.html",
      "title": "PJNZ Files",
      "author": "Robert Ashton",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Files accessed by specio",
        ".DP",
        ".xml",
        ".SPT - EPP results for Spectrum",
        "Section 1: National results",
        "Section 2: National F/M ratios and IDU info",
        "Section 3: Total workset results",
        "Section 4: Workset F/M ratios and IDU info",
        "Section 5: First sub-population results",
        "Section 6: First sub-population F/M ratios and IDU info",
        "General notes",
        ".SPU - EPP uncertainty results for Spectrum",
        "Files not currently accessed by specio",
        "ep1 - year and demographic inputs that EPP needs from Spectrum",
        "typ - type of the EPP workset either GENERALIZED or CONCENTRATED",
        "ep4 - ART data and parameters"
      ],
      "created": "2019-03-22 14:53:15",
      "modified": "2019-03-22 14:53:15",
      "commits": 1
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "specio",
  "_universes": [
    "mrc-ide",
    "r-ash"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-19T11:26:25.000Z",
      "distro": "noble",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "5bb1176855851e20f0b0bb310bccad0481ab7afc1242b7f9e39e1420dc3590dc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-19T11:26:20.000Z",
      "distro": "noble",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "ee033f93991e0f34e025b6eae77961e8a304fc4b3584bcce0b37266c6245ed58",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-19T11:25:43.000Z",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "c8d31b3009b7046b36e3e1ad908a670641431783fc7b0a1c2fb1c1bd34758d87",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-19T11:25:36.000Z",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "a1d68e5a488f0d4211edb1f1b8faa3829de1b3b6ee84fab499bff4dc0f8ca925",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-06-19T11:26:12.000Z",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "b8f52355bf3aca69256d6299d4bea5bce946460c760ca4a079bec2cfc0c50def",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-19T11:26:09.000Z",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "393de419007cc2b46232dcdda02edb900ab6998e8cf84d44c692eb40a3f3cac6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-19T11:25:26.000Z",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "2148c6190ab4708825443a64590cf0373fd32afa98fb59ebb7b29c3c32a442e4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-19T11:25:20.000Z",
      "commit": "11535cf22294071bb6e6b7ed8409823cac2a7ddc",
      "fileid": "eb33e9dfb15461e84add722fce3d458d4ad071178f3492a37d27282946d0ba71",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/27822665684"
    }
  ]
}