{
  "_id": "6ad87ef50d12c08e591ba003",
  "Package": "doseminer",
  "Type": "Package",
  "Title": "Extract Drug Dosages from Free-Text Prescriptions",
  "Version": "0.2.1.9000",
  "Authors@R": "c(person(given = 'David',\nfamily = 'Selby',\nrole = c('aut', 'cre', 'cph'),\nemail = 'david_antony.selby@dfki.de',\ncomment = c(ORCID = '0000-0001-8026-5663')),\nperson(given = 'Belay Birlie',\nfamily = 'Yimer',\nemail = 'belaybirlie.yimer@astellas.com',\nrole = 'ctb'),\nperson(given = 'Ben',\nfamily = 'Marwick',\nemail = 'benmarwick@gmail.com',\nrole = 'ctb'))",
  "Description": "Utilities for converting unstructured electronic\nprescribing instructions into structured medication data.\nExtracts drug dose, units, daily dosing frequency and intervals\nfrom English-language prescriptions. Based on Karystianis et\nal. (2015) <doi:10.1186/s12911-016-0255-x>.",
  "BugReports": "https://github.com/Selbosh/doseminer/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Language": "en-GB",
  "Config/roxygen2/version": "8.0.0",
  "URL": "https://github.com/Selbosh/doseminer",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://selbosh.r-universe.dev",
  "Date/Publication": "2026-07-23 08:00:24 UTC",
  "RemoteUrl": "https://github.com/selbosh/doseminer",
  "RemoteRef": "HEAD",
  "RemoteSha": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-21 08:56:40 UTC",
    "User": "root"
  },
  "Author": "David Selby [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-8026-5663>),\nBelay Birlie Yimer [ctb],\nBen Marwick [ctb]",
  "Maintainer": "David Selby <david_antony.selby@dfki.de>",
  "_user": "selbosh",
  "_type": "src",
  "_file": "doseminer_0.2.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/0eadd702e19cea28af5534e51b5eabe63cedba94f647d8b4564fc974550e55dc",
  "_filesize": 232692,
  "_sha256": "0eadd702e19cea28af5534e51b5eabe63cedba94f647d8b4564fc974550e55dc",
  "_expires": "2027-01-29T08:59:31.000Z",
  "_created": "2026-10-21T08:56:40.000Z",
  "_published": "2026-10-21T08:59:33.036Z",
  "_buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 119132116585,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12332684128"
    },
    {
      "job": 119132116567,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12332249954"
    },
    {
      "job": 119132116699,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12332788498"
    },
    {
      "job": 119132116527,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12333270662"
    },
    {
      "job": 119130415876,
      "time": 235,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12331604453"
    },
    {
      "job": 119132116557,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12333150766"
    },
    {
      "job": 119132116640,
      "time": 70,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12332927301"
    },
    {
      "job": 119132116728,
      "time": 67,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12333260262"
    },
    {
      "job": 119132116599,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12332309472"
    }
  ],
  "_upstream": "https://github.com/selbosh/doseminer",
  "_commit": {
    "id": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
    "author": "David Selby <david.selby@dfki.de>",
    "committer": "David Selby <david.selby@dfki.de>",
    "message": "Increment to dev version\n",
    "time": 1784793624
  },
  "_maintainer": {
    "name": "David Selby",
    "email": "david_antony.selby@dfki.de",
    "login": "selbosh",
    "bluesky": "@davidselby.bsky.social",
    "linkedin": "in/daselby",
    "twitter": "@TeaStats",
    "description": "Senior researcher in health data science at German Artificial Intelligence Research Centre (DFKI). Honorary researcher at TCD, UCL and University of Manchester.",
    "uuid": 7850509,
    "orcid": "0000-0001-8026-5663"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "version": ">= 2.0.1",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "prettydoc",
      "role": "Suggests"
    }
  ],
  "_owner": "selbosh",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-10",
      "n": 5
    },
    {
      "week": "2026-30",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.2.1",
      "date": "2026-03-05"
    }
  ],
  "_topics": [
    "cprd",
    "prescription"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "selbosh",
      "count": 75,
      "uuid": 7850509
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    }
  ],
  "_userbio": {
    "uuid": 7850509,
    "type": "user",
    "name": "David Selby",
    "followers": 101,
    "description": "Senior researcher in health data science at German Artificial Intelligence Research Centre (DFKI). Honorary researcher at TCD, UCL and University of Manchester."
  },
  "_downloads": {
    "count": 338,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/doseminer"
  },
  "_devurl": "https://github.com/selbosh/doseminer",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/doseminer.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/selbosh/doseminer",
  "_realowner": "selbosh",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-05-12"
    },
    {
      "version": "0.1.1",
      "date": "2021-05-13"
    },
    {
      "version": "0.1.2",
      "date": "2021-07-19"
    },
    {
      "version": "0.2.1",
      "date": "2026-07-22"
    }
  ],
  "_exports": [
    "clean_prescription_text",
    "example_cprd",
    "example_prescriptions",
    "extract_from_prescription",
    "latin_medical_terms",
    "replace_numbers",
    "words2number"
  ],
  "_datasets": [
    {
      "name": "cprd",
      "title": "Sample electronic prescribing dataset",
      "object": "cprd",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "patid",
        "date",
        "prodcode",
        "qty",
        "text"
      ],
      "rows": 714,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "clean_prescription_text",
      "title": "Clean up raw prescription freetext",
      "topics": [
        "clean_prescription_text"
      ]
    },
    {
      "page": "cprd",
      "title": "Sample electronic prescribing dataset",
      "topics": [
        "cprd"
      ]
    },
    {
      "page": "drug_units",
      "title": "Medication dosage units",
      "topics": [
        "drug_units"
      ]
    },
    {
      "page": "example_cprd",
      "title": "Example freetext prescriptions",
      "topics": [
        "example_cprd"
      ]
    },
    {
      "page": "example_prescriptions",
      "title": "Example freetext prescriptions",
      "topics": [
        "example_prescriptions"
      ]
    },
    {
      "page": "extract_dose_unit",
      "title": "Extract units of dose from freetext prescriptions.",
      "topics": [
        "extract_dose_unit"
      ]
    },
    {
      "page": "extract_from_prescription",
      "title": "Extract dosage information from free-text English-language prescriptions",
      "topics": [
        "extract_from_prescription"
      ]
    },
    {
      "page": "hourly_to_daily",
      "title": "Convert hourly to daily frequency",
      "topics": [
        "hourly_to_daily"
      ]
    },
    {
      "page": "latin_medical_terms",
      "title": "List of Latin medical and pharmaceutical abbreviations",
      "topics": [
        "latin_medical_terms"
      ]
    },
    {
      "page": "multiply_dose",
      "title": "Evaluate a multiplicative plaintext expression",
      "topics": [
        "multiply_dose"
      ]
    },
    {
      "page": "numb_replacements",
      "title": "Dictionary of English names of numbers",
      "topics": [
        "numb_replacements"
      ]
    },
    {
      "page": "regex_numbers",
      "title": "Regular expression to match numbers in English",
      "topics": [
        "regex_numbers"
      ]
    },
    {
      "page": "replace_numbers",
      "title": "Replace English number phrases with their decimal representations",
      "topics": [
        "replace_numbers"
      ]
    },
    {
      "page": "weekly_to_daily",
      "title": "Convert weekly interval to daily interval",
      "topics": [
        "weekly_to_daily"
      ]
    },
    {
      "page": "words2number",
      "title": "Convert English names of numbers to their numerical values",
      "topics": [
        "words2number"
      ]
    }
  ],
  "_readme": "https://github.com/selbosh/doseminer/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "magrittr",
    "rlang",
    "stringi",
    "stringr",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to doseminer",
      "author": "David Selby and Belay Birlie Yimer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation",
        "Getting started",
        "Utilities",
        "Improving the package"
      ],
      "created": "2021-04-16 13:58:24",
      "modified": "2021-07-19 10:16:56",
      "commits": 2
    },
    {
      "source": "case_study.Rmd",
      "filename": "case_study.html",
      "title": "Pharmacoepidemiology with doseminer",
      "author": "David Selby and Belay Birlie Yimer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Extract dosage from freetext prescription",
        "Estimating drug exposure",
        "Missing values",
        "Drug exposure time"
      ],
      "created": "2021-05-06 14:19:00",
      "modified": "2021-05-11 14:49:55",
      "commits": 3
    }
  ],
  "_score": 5.799340549453582,
  "_indexed": true,
  "_nocasepkg": "doseminer",
  "_universes": [
    "selbosh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:58:49.000Z",
      "distro": "resolute",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/cb7a1dac44331059deeeb78714da68b9d50e4e57deb2974d2b1dfe84591b68a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:58:44.000Z",
      "distro": "resolute",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/a5af039c6144c1e47ab9fadcc4df382622e1b45c655867865c858ed15877e208",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:58:24.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/86945d8a9b8c6228385aaf6eb9e753b9671404a9abc2c0523609d5a36738d729",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:58:51.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/696e02b9adfba1cb1a2fb48688998a700b8bfe0e6d7d0d833622e1016eb19545",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:58:51.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/42a79ae5eb8bcddcd45a82b4510b2cb6bdcc969c4e4d7a36be29fd686abfc787",
      "status": "success",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:57:54.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/06289d11a0de99c6d41193d8d2a0638eb76636ca4ddb2bbb05d1f5ceb49a6e5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:57:57.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/1aec45436ee1a64e1bbd3a65731a0d757f1b4268d0892216b49f5479feff4f60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-10-21T08:57:53.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/5ded925b94cc14d1761381297fcc77a028b31e5443ee4bd950fda7d4b4166999",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/39572607504"
    }
  ]
}