delete_rfrnds: Delete referendums in the RDB

delete_rfrndsR Documentation

Delete referendums in the RDB

Description

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

Usage

delete_rfrnds(
  ids,
  email = pal::pkg_config_val(key = "api_username", pkg = this_pkg),
  password = pal::pkg_config_val(key = "api_password", pkg = this_pkg),
  use_testing_server = pal::pkg_config_val(key = "use_testing_server", pkg = this_pkg)
)

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

Other referendum data functions: add_rfrnds(), assert_vars(), count_rfrnds(), download_file_attachment(), edit_rfrnds(), rfrnd(), rfrnd_exists(), rfrnds(), rfrnds_bkp(), validate_rfrnds()


zdaarau/c2d documentation built on Dec. 18, 2024, 1:24 p.m.