Skip to contents

Deletes existing referendum entries in the Referendum Database (RDB) via its API.

Usage

delete_rfrnds(
  ids,
  email = funky::config_val("api_username"),
  password = funky::config_val("api_password"),
  use_testing_server = funky::config_val("use_testing_server")
)

Arguments

ids

IDs of the referendums to be deleted. A character vector.

email

The e-mail address of the RDB API user account to be used for authentication. A character scalar.

password

The password of the RDB API user account to be used for authentication. A character scalar.

use_testing_server

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

Value

ids, invisibly.

See also