Skip to contents

Fetch the merge-template rows associated with a dataset. This mirrors the unauthenticated CatMapper API route used by the CatMapperJS merge-template UI.

Usage

get_merge_template(database, dataset_id, url = NULL)

Arguments

database

Target database, typically "SocioMap" or "ArchaMap".

dataset_id

Dataset CMID whose merge template should be retrieved.

url

API URL override. If NULL, CATMAPR_API_URL is used when set.

Value

Parsed API response, typically a data frame of merge-template rows.

Examples

if (FALSE) { # \dontrun{
tmpl <- get_merge_template(database = "ArchaMap", dataset_id = "AD947")
head(tmpl)
} # }