Skip to contents

Tests whether the referendum with the supplied id exists or not.

Usage

rfrnd_exists(
  id,
  .use_testing_server = pal::pkg_config_val(key = "use_testing_server", pkg = this_pkg)
)

Arguments

id

Referendum's unique identifier.

.use_testing_server

Whether or not to use the testing servers instead of the production servers for RDB Services API calls etc.

Value

A logical scalar.

Examples

rdb::rfrnd_exists("6303a4cba52c3995043a8c24")
#> [1] TRUE