tests/testthat/_snaps/utils.md

subset_drugbank_dvobject

Code
  show_dvobject_metadata(new_dvobj)
Output
  === BASIC INFO ===
       Class Total_DataFrames Top_Level_Lists Object_Size
  1 dvobject               32               3    547.6 Kb

  === DATABASE METADATA ===
   Database     Type Version Export_Date
   Original DrugBank     5.1  2025-01-02

  === DATA.FRAMES ===
                                            Path Rows Cols     Size
                       drugs$general_information    1   15   4.8 Kb
                       drugs$drug_classification    1    9   2.6 Kb
                                  drugs$synonyms    4    4     2 Kb
                              drugs$pharmacology    1   12     9 Kb
                      drugs$international_brands    6    3     2 Kb
                                  drugs$mixtures    4    3   1.7 Kb
                                 drugs$packagers   11    3   3.1 Kb
                                    drugs$prices    7    5   2.9 Kb
                                drugs$categories   28    3   5.1 Kb
                                   drugs$dosages  129    4  12.2 Kb
                                 drugs$atc_codes    2   10   2.9 Kb
                                   drugs$patents   32    6   7.9 Kb
                         drugs$drug_interactions 1194    4 387.1 Kb
                                 drugs$sequences    1    3   1.3 Kb
                   drugs$experimental_properties    2    4   1.7 Kb
                      drugs$external_identifiers   13    3   3.1 Kb
                        drugs$affected_organisms    1    2   1.1 Kb
                                    drugs$groups    2    2   1.2 Kb
                            drugs$external_links    2    3   1.5 Kb
                                           salts    2    8   2.8 Kb
                                        products   81   19  33.6 Kb
                       references$drugs$articles    4    4   2.8 Kb
                          references$drugs$links    9    4   5.3 Kb
                     references$targets$articles   55    4  17.2 Kb
                        references$targets$links   14    4   7.1 Kb
                cett$targets$general_information    2    6   2.1 Kb
                            cett$targets$actions    6    2   1.6 Kb
   cett$targets$polypeptides$general_information    2   20   8.1 Kb
       cett$targets$polypeptides$external_identy   13    3   2.9 Kb
              cett$targets$polypeptides$synonyms    7    2   1.6 Kb
                 cett$targets$polypeptides$pfams    2    3   1.5 Kb
                    cett$targets$polypeptides$go    3    3   1.6 Kb

subset_onsides_dvobject

Code
  show_dvobject_metadata(new_dvobj)
Output
  === BASIC INFO ===
       Class Total_DataFrames Top_Level_Lists Object_Size
  1 dvobject                8               0    846.1 Kb

  === DATABASE METADATA ===
   Database    Type Version Export_Date
   Original OnSIDES   3.1.1  April 2025

  === DATA.FRAMES ===
                                 Path  Rows Cols    Size
               product_adverse_effect 18742    7  808 Kb
                      high_confidence     2    2  1.4 Kb
                        product_label    29    5   13 Kb
                    product_to_rxnorm    44    2  2.2 Kb
   vocab_rxnorm_ingredient_to_product     3    2  1.6 Kb
          vocab_meddra_adverse_effect   139    3 13.9 Kb
              vocab_rxnorm_ingredient     1    3  1.8 Kb
                 vocab_rxnorm_product     3    3  2.2 Kb


Try the dbparser package in your browser

Any scripts or data that you put into this service are public.

dbparser documentation built on Nov. 9, 2026, 1:10 a.m.