Skip to contents

Returns the FOKUS survey's postal dispatch way of the specified type for the specified canton at the specified ballot date.

Usage

postal_dispatch_way(
  ballot_date = pal::pkg_config_val("ballot_date"),
  canton = cantons(ballot_date),
  dispatch_type = all_postal_dispatch_types
)

Arguments

ballot_date

FOKUS-covered ballot date. One of

  • "2018-09-23"

  • "2018-11-25"

  • "2019-10-20"

  • "2020-09-27"

  • "2020-10-18"

  • "2021-11-28"

  • "2023-06-18"

  • "2024-10-20"

canton

FOKUS-covered canton name. One of

  • "aargau"

dispatch_type

Postal dispatch type. One of "invitation", "prepaid_reply_envelope" or "reminder".

Value

A character scalar.

See also

Other predicate functions: ballot_title(), political_issues(), response_options()

Examples

fokus::postal_dispatch_way(ballot_date = "2018-09-23",
                           canton = "aargau",
                           dispatch_type = "invitation")
#> [1] "b"