This function retrieves dataset metadata based on a given CMID (CatMapperID) from a specified database, with an optional domain filter. It fetches dataset relationships and metadata properties associated with the specified CMID.
Usage
get_dataset_metadata(database, cmid, domain = "CATEGORY", children = NULL)
datasetInfo(database, CMID, domain = "CATEGORY", children = NULL)
getDatasetMetadata(database, CMID, domain = "CATEGORY", children = NULL)Arguments
- database
A string specifying the database to search in. Valid options are "SocioMap" or "ArchaMap".
- cmid
The CMID of the dataset to retrieve information for (e.g., "SD1" or "AD1").
- domain
(Optional) A category to filter dataset relationships. Defaults to "CATEGORY" if not specified.
- children
(Optional) If TRUE, include child datasets in the query.
- CMID
Legacy alias for
cmid.
