write_collection_members: Write a collection member JSON file

View source: R/collection_members.R

write_collection_membersR Documentation

Write a collection member JSON file

Description

Write a collection member JSON file

Usage

write_collection_members(colMembers, path = NA, collection = NULL)

Arguments

colMembers

A tibble as returned by read_collection_members()

path

the JSON file to write. If NA (default), the JSON file is not written but returned by the function.

collection

The collection definition (json string). If NULL (default), it is taken from TKCat environment (see list_local_collections().

Value

The JSON representation of collection members. If a path is provided, then the JSON is also written in it.


TKCat documentation built on Feb. 16, 2023, 10:51 p.m.