{
  "_id": "6a213b9fcd65a98ecbd282a3",
  "Package": "DOPE",
  "Title": "Drug Ontology Parsing Engine",
  "Version": "2.1.0",
  "Authors@R": "c(\nperson(given = \"Raymond\",\nfamily = \"Balise\",\nrole = c(\"aut\", \"cre\"),\nemail = \"balise@miami.edu\",\ncomment = c(ORCID = \"0000-0002-9856-5901\")),\nperson(given = \"Layla\",\nfamily = \"Bouzoubaa\",\nrole = c(\"aut\"),\nemail = \"lab218@miami.edu\",\ncomment = c(ORCID = \"0000-0002-6616-0950\")),\nperson(given = \"Gabriel\",\nfamily = \"Odom\",\nrole = c(\"aut\"),\nemail = \"gabriel.odom@fiu.edu\",\ncomment = c(ORCID = \"0000-0003-1341-4555\")),\nperson(given = \"Nathaniel\",\nfamily = \"Castor\",\nrole = c(\"aut\"),\nemail = \"nxc741@miami.edu\"))",
  "Description": "Provides information on drug names (brand, generic and\nstreet) for drugs tracked by the DEA. There are functions that\nwill search synonyms and return the drug names and types. The\nvignettes have extensive information on the work done to create\nthe data for the package.",
  "License": "MIT + file LICENSE",
  "URL": "https://ctn-0094.github.io/DOPE/, https://github.com/CTN-0094/DOPE",
  "BugReports": "https://github.com/CTN-0094/DOPE/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ctn-0094.r-universe.dev",
  "Date/Publication": "2025-05-06 17:36:57 UTC",
  "RemoteUrl": "https://github.com/ctn-0094/dope",
  "RemoteRef": "HEAD",
  "RemoteSha": "671c416cee4b613337a63ab0212499151162757d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 08:43:44 UTC",
    "User": "root"
  },
  "Author": "Raymond Balise [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9856-5901>),\nLayla Bouzoubaa [aut] (ORCID: <https://orcid.org/0000-0002-6616-0950>),\nGabriel Odom [aut] (ORCID: <https://orcid.org/0000-0003-1341-4555>),\nNathaniel Castor [aut]",
  "Maintainer": "Raymond Balise <balise@miami.edu>",
  "MD5sum": "ca3866387c0f52374e3688432fcb05ad",
  "_user": "ctn-0094",
  "_type": "src",
  "_file": "DOPE_2.1.0.tar.gz",
  "_fileid": "0a3826cefbe9852dbdf451574b2eca1e2d1c593d72204e5412a1ce669a773499",
  "_filesize": 2525790,
  "_sha256": "0a3826cefbe9852dbdf451574b2eca1e2d1c593d72204e5412a1ce669a773499",
  "_created": "2026-06-04T08:43:44.000Z",
  "_published": "2026-06-04T08:47:27.725Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79482372741,
      "time": 169,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7407022931"
    },
    {
      "job": 79482372812,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407022270"
    },
    {
      "job": 79482372786,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7407011926"
    },
    {
      "job": 79482372715,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407010712"
    },
    {
      "job": 79481781352,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406962529"
    },
    {
      "job": 79482372735,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407008630"
    },
    {
      "job": 79482372793,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7407015169"
    },
    {
      "job": 79482372817,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7407001670"
    },
    {
      "job": 79482372891,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406998149"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ctn-0094/dope",
  "_commit": {
    "id": "671c416cee4b613337a63ab0212499151162757d",
    "author": "Gabriel J. Odom <gabriel.odom@fiu.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #56 from kyleGrealis/patch-1\n\nUpdate README.md",
    "time": 1746553017
  },
  "_maintainer": {
    "name": "Raymond Balise",
    "email": "balise@miami.edu",
    "login": "raymondbalise",
    "twitter": "@raymondBalise",
    "description": "Associate Professor, Biostatistics ",
    "uuid": 18148282,
    "orcid": "0000-0002-9856-5901"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidytext",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "conflicted",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "rvest",
      "role": "Suggests"
    },
    {
      "package": "sqldf",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "ctn-0094",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 23,
  "_contributors": [
    {
      "user": "labouz",
      "count": 69,
      "uuid": 25671683
    },
    {
      "user": "nathan-castor",
      "count": 29,
      "uuid": 9781394
    },
    {
      "user": "raymondbalise",
      "count": 15,
      "uuid": 18148282
    },
    {
      "user": "gabrielodom",
      "count": 13,
      "uuid": 24464126
    },
    {
      "user": "kylegrealis",
      "count": 1,
      "uuid": 84798289
    }
  ],
  "_userbio": {
    "uuid": 69799326,
    "type": "organization",
    "name": "CTN-0094",
    "description": "This is the CTN 94 org"
  },
  "_downloads": {
    "count": 175,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DOPE"
  },
  "_mentions": 71,
  "_devurl": "https://github.com/ctn-0094/dope",
  "_pkgdown": "https://ctn-0094.github.io/DOPE/",
  "_searchresults": 32,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DOPE.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ctn-0094/dope",
  "_realowner": "ctn-0094",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.4",
      "date": "2021-01-11"
    },
    {
      "version": "2.0.1",
      "date": "2021-05-12"
    },
    {
      "version": "2.1.0",
      "date": "2021-06-18"
    }
  ],
  "_exports": [
    "compress_lookup",
    "lookup",
    "lookup_syn",
    "parse"
  ],
  "_datasets": [
    {
      "name": "dea_brands",
      "title": "Drug brand info",
      "object": "dea_brands",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "category",
        "brands"
      ],
      "rows": 28,
      "table": true,
      "tojson": true
    },
    {
      "name": "dea_controlled",
      "title": "Drug controlled substance synonyms",
      "object": "dea_controlled",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "substance",
        "number",
        "schedule",
        "narcotic",
        "synonym"
      ],
      "rows": 732,
      "table": true,
      "tojson": true
    },
    {
      "name": "dea_factsheets",
      "title": "Drug ontology information from https://www.dea.gov/factsheets",
      "object": "dea_factsheets",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "class",
        "category",
        "fact_path"
      ],
      "rows": 29,
      "table": true,
      "tojson": true
    },
    {
      "name": "dea_street_names",
      "title": "Drug slang from DEA's DIR-020-17 Drug Slang Code Words.pdf",
      "object": "dea_street_names",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "category",
        "brand",
        "slang"
      ],
      "rows": 1731,
      "table": true,
      "tojson": true
    },
    {
      "name": "drug_df",
      "title": "Simulated drug data",
      "object": "drug_df",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "textdrug",
        "sex",
        "race"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    },
    {
      "name": "drug_stop_words",
      "title": "A vector with drug-specific stop words in English",
      "object": "drug_stop_words",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "iqvia",
      "title": "Data sent from IQVIA",
      "object": "iqvia",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "class",
        "category",
        "synonym"
      ],
      "rows": 87,
      "table": true,
      "tojson": true
    },
    {
      "name": "lookup_df",
      "title": "A lookup table with drug class, category, and synonyms",
      "object": "lookup_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "class",
        "category",
        "synonym"
      ],
      "rows": 4766,
      "table": true,
      "tojson": true
    },
    {
      "name": "noslang_raw",
      "title": "Drug terms from https://www.noslang.com/drugs/dictionary",
      "object": "noslang_raw",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "street_name",
        "description"
      ],
      "rows": 3172,
      "table": true,
      "tojson": true
    },
    {
      "name": "noslang_street_names",
      "title": "Drug slang from https://www.noslang.com/drugs/dictionary",
      "object": "noslang_street_names",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "street_name",
        "description",
        "drug"
      ],
      "rows": 3216,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "compress_lookup",
      "title": "Collapse Redundant Rows of a Lookup Table",
      "topics": [
        "compress_lookup"
      ]
    },
    {
      "page": "dea_brands",
      "title": "Drug brand info",
      "topics": [
        "dea_brands"
      ]
    },
    {
      "page": "dea_controlled",
      "title": "Drug controlled substance synonyms",
      "topics": [
        "dea_controlled"
      ]
    },
    {
      "page": "dea_factsheets",
      "title": "Drug ontology information from https://www.dea.gov/factsheets",
      "topics": [
        "dea_factsheets"
      ]
    },
    {
      "page": "dea_street_names",
      "title": "Drug slang from DEA's DIR-020-17 Drug Slang Code Words.pdf",
      "topics": [
        "dea_street_names"
      ]
    },
    {
      "page": "drug_df",
      "title": "Simulated drug data",
      "topics": [
        "drug_df"
      ]
    },
    {
      "page": "drug_stop_words",
      "title": "A vector with drug-specific stop words in English",
      "topics": [
        "drug_stop_words"
      ]
    },
    {
      "page": "iqvia",
      "title": "Data sent from IQVIA",
      "topics": [
        "iqvia"
      ]
    },
    {
      "page": "lookup",
      "title": "Make a table with the class and category for a drug name",
      "topics": [
        "lookup"
      ]
    },
    {
      "page": "lookup_df",
      "title": "A lookup table with drug class, category, and synonyms",
      "topics": [
        "lookup_df"
      ]
    },
    {
      "page": "lookup_syn",
      "title": "Make a table with the class and category for a drug name",
      "topics": [
        "lookup_syn"
      ]
    },
    {
      "page": "noslang_raw",
      "title": "Drug terms from https://www.noslang.com/drugs/dictionary",
      "topics": [
        "noslang_raw"
      ]
    },
    {
      "page": "noslang_street_names",
      "title": "Drug slang from https://www.noslang.com/drugs/dictionary",
      "topics": [
        "noslang_street_names"
      ]
    },
    {
      "page": "parse",
      "title": "Parse a vector of free text containing drug information",
      "topics": [
        "parse"
      ]
    }
  ],
  "_readme": "https://github.com/ctn-0094/dope/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "janeaustenr",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "SnowballC",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tidytext",
    "tokenizers",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "controlled.Rmd",
      "filename": "controlled.html",
      "title": "How the dea_controlled file was made.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Mark names that will be diffcult to parse",
        "Difficult synonyms",
        "Easy synonyms",
        "bind the 'easy' and 'difficult' synonym datasets to create the final dataset"
      ],
      "created": "2020-12-31 18:45:51",
      "modified": "2021-06-16 20:07:48",
      "commits": 2
    },
    {
      "source": "dea_street_names.Rmd",
      "filename": "dea_street_names.html",
      "title": "How the dea_street_names file was made.",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-12-31 18:45:51",
      "modified": "2021-05-11 13:53:05",
      "commits": 4
    },
    {
      "source": "noslang_street_names.Rmd",
      "filename": "noslang_street_names.html",
      "title": "How the noslang_stret_names file was made.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scrape No Slang Data",
        "Finding Drug Names"
      ],
      "created": "2020-12-31 18:45:51",
      "modified": "2021-04-05 18:50:59",
      "commits": 2
    },
    {
      "source": "Intro.Rmd",
      "filename": "Intro.html",
      "title": "Introduction to DOPE",
      "engine": "knitr::rmarkdown",
      "headings": [
        "DEA",
        "Web Scrape",
        "Fact Sheets",
        "Drug Brands",
        "PDFs",
        "Slang",
        "Controlled Substances",
        "DEA Summary",
        "No Slang",
        "IQVIA",
        "drug_stop_words.rda"
      ],
      "created": "2020-12-31 18:45:51",
      "modified": "2021-05-06 19:01:45",
      "commits": 5
    },
    {
      "source": "parse_lookup.Rmd",
      "filename": "parse_lookup.html",
      "title": "Introduction to parse and the lookup_ functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data: drug_df",
        "parse()",
        "lookup_*",
        "lookup()",
        "compress_lookup()",
        "lookup_syn()"
      ],
      "created": "2021-04-27 19:02:21",
      "modified": "2021-05-06 18:53:37",
      "commits": 6
    },
    {
      "source": "make_lookup_df.Rmd",
      "filename": "make_lookup_df.html",
      "title": "Make Lookup Table",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Fix dea_brands",
        "Fix DEA category and class",
        "The DEA street name file has:"
      ],
      "created": "2020-12-31 18:45:51",
      "modified": "2021-06-17 17:20:07",
      "commits": 7
    },
    {
      "source": "dea_scrape.Rmd",
      "filename": "dea_scrape.html",
      "title": "Scraping drug names and slang from web pages.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Write a function to get the name, category and path of a drug"
      ],
      "created": "2020-12-31 18:45:51",
      "modified": "2021-04-05 18:50:59",
      "commits": 3
    }
  ],
  "_score": 8.013005850015738,
  "_indexed": true,
  "_nocasepkg": "dope",
  "_universes": [
    "ctn-0094",
    "raymondbalise"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-04T08:46:15.000Z",
      "distro": "noble",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "12f18545f63edb06a1e5cad6cbaa5deccc42083d5f721505f58f1964ab9a9b38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-04T08:46:16.000Z",
      "distro": "noble",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "d7bd5dce6e9c8db66283564c2ebed474960cdd9d6dcb7ad996f740678e30d151",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-04T08:45:48.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "f4536426541b81f089d64ee5014085728e8c458fc0a50c3484634b7b50bea136",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-04T08:45:48.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "f5d1795f973f5bca655edb24bbb3b8a2c60b4e014021b49ef1469aa2f87e5fba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-06-04T08:46:11.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "549f841d3aeb610ae58c85f4bd53e1c90aa047a65e93ded8fb7709621c9cae48",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-04T08:45:55.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "00a07e6ea738090183a4a406bfa6b33bc7141f4963711a511658ca8a60e0c62e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-04T08:45:13.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "ca2b1698327139332cb8ede5531778eba06cab2590a8c27b8bca4fb5ead27d1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-04T08:45:02.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "c70d1c3616dd6d574fdd27c3d0356ff956af8f3dc2dad49e5194b6ffd2e84fc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26940847927"
    }
  ]
}