View source: R/source_metadata.R
| get_source_metadata | R Documentation |
Returns where each source in a dvobject came from: release, dates, URLs,
licence, attribution, the parsed files with their SHA-256 hashes, and the
dbparser version that parsed them. A merged dvobject has one row per
source. Unknown values are NA.
get_source_metadata(dvobject)
dvobject |
a dvobject returned by a parser or a merge function |
a tibble with one row per source and columns
metadata_version, source, source_name,
release, release_date, retrieved_at,
source_url, licence, licence_url,
attribution, files (a list column of data.frames with
name and sha256) and parser. It has no rows when
the dvobject carries no source metadata (e.g. one saved by an older
dbparser version).
Other utility:
add_database_info(),
get_genes_for_phenotype(),
search_phenotypes(),
show_dvobject_metadata(),
subset_drugbank_dvobject(),
subset_onsides_dvobject()
drugbank <- parseDrugBank(
system.file("extdata", "drugbank_record_biotech.xml",
package = "dbparser"))
get_source_metadata(drugbank)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.