dbdataset is a data package containing different tibbles that constitute the dataset parsed from DrugBank. The dataset was extracted from the DrugBank XML database via dbparser R package.

The dataset can be used for conveniently exploring and analyzing the contents of the DrugBank database. The dataset is also intended to assist in drug discovery endeavors that plan to make use of the DrugBank database.

Moreover; it also can be used to in Machine Learning in many sub-fields such as:

  • Natural Language Processing (NLP)
  • Web Scrapping
  • Visualization


As the package size exceeds the limit set by CRAN, it will be hosted on Github only for now. Hence, it could be installed via the following command.


The datasets will then be available after running the following command:

Used Versions

  • dbparser: 2.0.3
  • Drugbank: 5.1.12