Skip to contents

Functions counting the SA-Processings in a Workspace (ws_sap_count) or the SA-Items in a SA-Processing (sap_sai_count).

Usage

sap_sai_count(jsap)

ws_sap_count(jws)

Arguments

jws, jsap

Workspace or SA-Processing.

Value

Returns an integer.

Examples

#' # Create a Workspace
jws <- jws_new()
# Add an 2 SA-Processings
jsap1 <- jws_sap_new(jws, "sap1")
jsap2 <- jws_sap_new(jws, "sap2")
# Count the SA-Processings
ws_sap_count(jws)
#> [1] 2