dbparser (version 1.0.3)

get_xml_db_rows: Reads drug bank xml database and set it in memory.

Description

get_xml_db_rows sets drug bank db xml full tree in memory

Usage

get_xml_db_rows(xml_db_name)

Arguments

xml_db_name

string, full path for the drug bank xml or zip file.

Value

TRUE when sets the db tree in memory to be used by parser methods and FALSE otherwise

Details

This functions reads drug bank xml database and sets the full tree save it in a predefined database via open_db method. It takes one single optional argument to in memory directly without returning it. It must be called one before using parser functions, and once it is called If get_xml_db_rows is called before for any reason, so no need to call it again.

Examples

Run this code
# NOT RUN {
get_xml_db_rows("db_full_path")
get_xml_db_rows(xml_db_name = "db_full_path")
# }

Run the code above in your browser using DataLab