Skip to contents

Create a view

Usage

hb_create_view(client, table, view, ..., settings = list())

Arguments

client

A harbour_client.

table

Table name.

view

New view name.

...

These dots are for future extensions and must be empty.

settings

Optional named list of further fields for the new view, such as type ("table", the default, or "archive") or is_locked. SeaTable sets filters, sorts and hidden columns only on an existing view, so follow with hb_update_view() for those.

Value

Invisibly returns the client.

Examples

# needs a SeaTable server and an API token
if (FALSE) { # \dontrun{
client <- hb_client()
hb_create_view(client, "Samples", "Active")
} # }