Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 6 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.1%) to scientific vocabulary
Repository
Drug Ontology Parsing Engine
Basic Info
- Host: GitHub
- Owner: CTN-0094
- License: other
- Language: R
- Default Branch: master
- Homepage: https://ctn-0094.github.io/DOPE/
- Size: 2.57 MB
Statistics
- Stars: 23
- Watchers: 3
- Forks: 2
- Open Issues: 18
- Releases: 3
Metadata Files
README.md
Drug Ontology Parsing Engine (DOPE) 
The goal of DOPE is to provide a structured vocabulary and tools to look up details on drugs tracked by the DEA. The data structure is:

Installation
Official Release
You can install the released version of DOPE from CRAN with:
r
install.packages("DOPE")
Development Release
Run these two lines of code to install DOPE from GitHub (this requires RTools for Windows or Xcode for Mac to be installed on your computer):
r
if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("CTN-0094/DOPE")
Examples
You can look up details on a drug with the lookup() function. It will check brand, generic and street names.
r
library(DOPE)
lookup("adderall")
lookup("ketamine")
lookup("auntie")
The lookup funciton supports vectorized lookups:
library(DOPE)
lookup("cheese", "pizza", "with", "a", "soda")
lookup(c("Buprenorphine", "Tramadol", "Bup/Nx"))
If your only care about the class and/or category and/or if you search returns many matches you can use the compress_lookup() function to drop columns and then remove duplicate rows.
lookup("cheese", "pizza", "with", "a", "soda") %>%
compress_lookup(compressClass = FALSE,
compressCategory = TRUE,
compressSynonym = TRUE)
DOPE now allows for parsing out drug names from a vector which contains free text with the parse() function. You can use it in conjunction withlookup() and compress_lookup()
data(drug_df)
parse(drug_df$textdrug[1:5]) %>%
lookup()
Additional Information
For more information or to see detailed vignettes, please visit https://ctn-0094.github.io/DOPE/.
Owner
- Name: CTN-0094
- Login: CTN-0094
- Kind: organization
- Website: ctn-0094.github.io
- Repositories: 3
- Profile: https://github.com/CTN-0094
This is the CTN 94 org
GitHub Events
Total
- Watch event: 2
- Push event: 1
- Pull request event: 1
- Pull request review event: 2
- Fork event: 2
Last Year
- Watch event: 2
- Push event: 1
- Pull request event: 1
- Pull request review event: 2
- Fork event: 2
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Layla Bouzoubaa | l****8@m****u | 53 |
| nathaniel castor | n****r@g****m | 20 |
| Raymond Balise | b****e@m****u | 14 |
| gabrielodom | g****m@f****u | 11 |
| Nathaniel Castor | n****r@N****l | 3 |
| Nate | 9****r | 1 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 32
- Total pull requests: 24
- Average time to close issues: 26 days
- Average time to close pull requests: 8 days
- Total issue authors: 4
- Total pull request authors: 5
- Average comments per issue: 0.91
- Average comments per pull request: 0.25
- Merged pull requests: 22
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 12 minutes
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- labouz (22)
- RaymondBalise (5)
- gabrielodom (4)
- mbreevoort (1)
Pull Request Authors
- nathan-castor (9)
- labouz (9)
- kyleGrealis (4)
- RaymondBalise (3)
- gabrielodom (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 287 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: DOPE
Drug Ontology Parsing Engine
- Homepage: https://ctn-0094.github.io/DOPE/
- Documentation: http://cran.r-project.org/web/packages/DOPE/DOPE.pdf
- License: MIT + file LICENSE
-
Latest release: 2.1.0
published about 5 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 2.10 depends
- dplyr * imports
- magrittr * imports
- stats * imports
- stringr * imports
- tibble * imports
- tidytext * imports
- utils * imports
- conflicted * suggests
- knitr * suggests
- purrr * suggests
- readr * suggests
- rmarkdown * suggests
- rvest * suggests
- sqldf * suggests
- testthat * suggests
- tidyr * suggests
- usethis * suggests
- xml2 * suggests