add_chTKCat_collection: Import a collection in a chTKCat database

View source: R/chTKCat.R

add_chTKCat_collectionR Documentation

Import a collection in a chTKCat database

Description

Import a collection in a chTKCat database

Usage

add_chTKCat_collection(x, json, overwrite = FALSE)

Arguments

x

a chTKCat object

json

a single character indicating the collection to import. Can be:

  • a path to a file

  • the name of a local collection (see list_local_collections())

  • the json text defining the collection

overwrite

a logical indicating if the existing collection should be replaced.

Value

No return value, called for side effects


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