Hello, I have to parse data from
drugbank database. So, I found, I can parse
drugbank dataset using
I have found guidelines here. So, when I am running the code given on the pages, I found very little data. For example, only
398 rows for
drug interaction. I think it must be very bigger than the resultant one.
Code is given from here
# Load dbparser package library(dbparser) # Create SQLite database connection database_connection <- DBI::dbConnect(RSQLite::SQLite(), ":memory:") # DrugBank database sample name biotech <- "drugbank_record_biotech.xml" # Use DrugBank sample database in the library read_drugbank_xml_db(system.file("extdata", biotech, package = "dbparser")) # Parse all available drug tibbles run_all_parsers(save_table = TRUE, database_connection = database_connection) # List saved tables DBI::dbListTables(database_connection) # Close SQLite connection DBI::dbDisconnect(database_connection)
Now, I would like to know, is there anyway, I can parse my own dataset (which one is downloaded from
drugbak using this package? The question might be silly, but I will grateful if you show me any path for parsing the dataset.
Any kind of suggestion is appreciable.