Duplicate a table
Naming
SeaTable names the copy after the original with (copy) appended, with
no space - a copy of Samples is Samples(copy) - and offers no way to
set the name in the same request. Follow with hb_rename_table() if you
need a particular name.
See also
Other tables:
hb_create_table(),
hb_delete_table(),
hb_rename_table()
Examples
# needs a SeaTable server and an API token
if (FALSE) { # \dontrun{
client <- hb_client()
hb_duplicate_table(client, "Samples")
hb_rename_table(client, "Samples(copy)", "Samples_backup")
} # }