Skip to contents

Writes / reads the mapping as a JSON object ({"site": "Site A", ...}), the same file format as the Python package. Store it somewhere that is not committed or shared with the results.

Usage

save_site_labels(labels, path)

load_site_labels(path)

Arguments

labels

Named character vector or named list (site key -> label).

path

File path.

Value

save_site_labels() returns path invisibly; load_site_labels() a named character vector.