teal_card or ReportCardThis function retrieves metadata from a teal_card or ReportCard object.
When which is NULL, it returns all metadata fields as a list.
metadata(object, which = NULL)# S3 method for teal_card
metadata(object, which = NULL)
# S3 method for ReportCard
metadata(object, which = NULL)
A list of metadata fields or a specific field if which is provided.
(teal_card or ReportCard) The object from which to extract metadata.
(character or NULL) The name of the metadata field to extract.