get_source_metadata: Get the source metadata of a dvobject
Description
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.
Usage
get_source_metadata(dvobject)
Value
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).
Arguments
dvobject
a dvobject returned by a parser or a merge function
See Also
Other utility:
add_database_info(),
get_genes_for_phenotype(),
search_phenotypes(),
show_dvobject_metadata(),
subset_drugbank_dvobject(),
subset_onsides_dvobject()