{
  "_id": "6a48b84be06c18f0a6548851",
  "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-07-04 06:54:12 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>",
  "_user": "ctn-0094",
  "_type": "src",
  "_file": "DOPE_2.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/ff8b2a81fb2f380d53959efa8c2c83cb0a681bd7d182d6480a7b7e8f71a0a7b6",
  "_filesize": 2527999,
  "_sha256": "ff8b2a81fb2f380d53959efa8c2c83cb0a681bd7d182d6480a7b7e8f71a0a7b6",
  "_expires": "2026-10-12T07:37:46.000Z",
  "_created": "2026-07-04T06:54:12.000Z",
  "_published": "2026-07-04T07:37:47.889Z",
  "_jobs": [
    {
      "job": 85111859091,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079343026"
    },
    {
      "job": 85111859085,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079342239"
    },
    {
      "job": 85111859100,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079665729"
    },
    {
      "job": 85111859095,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079666379"
    },
    {
      "job": 85111642085,
      "time": 221,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079323033"
    },
    {
      "job": 85111859080,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079340642"
    },
    {
      "job": 85111859104,
      "time": 104,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079335198"
    },
    {
      "job": 85111859099,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079334751"
    },
    {
      "job": 85111859097,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079334828"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 3,
    "description": "This is the CTN 94 org"
  },
  "_downloads": {
    "count": 381,
    "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": 42,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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.131105162093732,
  "_indexed": true,
  "_nocasepkg": "dope",
  "_universes": [
    "ctn-0094",
    "raymondbalise"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-07-04T06:56:42.000Z",
      "distro": "resolute",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/3509f258c92264c0575b23714a37994a1e59a0e363cf720bdc9797f942dd6c36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-07-04T06:56:39.000Z",
      "distro": "resolute",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/3ae57e2749bd0007b5900179934eb2e382d27339828e22bb8bf25667031f937e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-07-04T07:36:59.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/e4241c79eb10f47a3709a1154347425cbcf82e7f0cf366f6025189fecf256867",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-07-04T07:36:55.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/33e07f53952f3651d94b47cc6fb99b5ecb106dffa2fdbcb083d8905670c8860e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-07-04T06:57:02.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/2178410f339b63d48c1efbf49f34b9cfacb532b4fb1e91b3f5de6c854cd37a4d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-07-04T06:55:35.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/9e70ec93fdd82b9c91496d7e6f8661c6e4871716fc4da961b0aee86a6904093d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-07-04T06:55:31.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/79325c27122a817251e0e79f4ef7fbfddb321116a6b7e5b2dc110db1e319b914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-07-04T06:55:34.000Z",
      "commit": "671c416cee4b613337a63ab0212499151162757d",
      "fileid": "https://r2.ropensci.org/388fd19d0f1efea095ff2cdb78552e688a35df5979900f8c7efadeba71c77d6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/28698244535"
    }
  ]
}