{
  "_id": "6a620bd935834fefe99ec2aa",
  "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-07-23 12:37:02 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/18008ca8ecb46a079074c03087f2339e526cf8d537569e6bf1ee2837083bdd72",
  "_filesize": 233342,
  "_sha256": "18008ca8ecb46a079074c03087f2339e526cf8d537569e6bf1ee2837083bdd72",
  "_expires": "2026-10-31T12:40:55.000Z",
  "_created": "2026-07-23T12:37:02.000Z",
  "_published": "2026-07-23T12:40:57.437Z",
  "_jobs": [
    {
      "job": 89207718222,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8563775555"
    },
    {
      "job": 89207718320,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8563745929"
    },
    {
      "job": 89207718257,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8563739024"
    },
    {
      "job": 89207718347,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8563737559"
    },
    {
      "job": 89206441759,
      "time": 336,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8563686397"
    },
    {
      "job": 89207718236,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8563740837"
    },
    {
      "job": 89207718331,
      "time": 88,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8563728181"
    },
    {
      "job": 89207718362,
      "time": 72,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8563721964"
    },
    {
      "job": 89207718379,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8563729744"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633",
  "_status": "success",
  "_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": 0,
  "_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": 98,
    "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": 65,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/doseminer"
  },
  "_devurl": "https://github.com/selbosh/doseminer",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/doseminer.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_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.146128035678238,
  "_indexed": true,
  "_nocasepkg": "doseminer",
  "_universes": [
    "selbosh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:40:16.000Z",
      "distro": "resolute",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/9dfb2786c9fc19065c4d7f195d436731a7c494680896af05691743edd5e71ac0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:39:15.000Z",
      "distro": "resolute",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/827cd0150ca28f8dddcb0f605d2d97adefedc24cdc490253e5bcc4554e89795c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:39:04.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/ec59d153b72987ff447a83ee2a51bc6589f1bdb21a5673b40c6f65506c2eed73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:38:58.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/fc480b4dd5a75b1a241fb48523ad1ddf911891e7942c7bd90ff62bf9fd9178d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:39:17.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/0f8cd2d15eab1dcf14444a187c171dbda3c7d2d0084c631532429d61f87dac02",
      "status": "success",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:38:28.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/4fd74a6ea0d18e062188049262b93f185653230324af685eaf58f77887fa7bf3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:38:15.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/3467870b49449701497f5c1d068b6b894c6e4860eddec22117c652ca6e600aac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-07-23T12:38:33.000Z",
      "commit": "d38076f6b3b9ba1ee8b26801c8dbd02493aea5c6",
      "fileid": "https://r2.ropensci.org/8224cf9d4ee8c0c87afa1213535cdf415552481b0c75c92ef9f0313eaa83ade9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selbosh/actions/runs/30007323633"
    }
  ]
}