get_upcoming_elections: get_upcoming_elections

Description Usage Arguments Value Examples

Description

get_upcoming_elections

Usage

1
2
3
get_upcoming_elections(election_expire_date_on_or_after = "today",
  is_local = NULL, is_state = NULL, is_national = NULL,
  is_transnational = NULL, elections = 5)

Arguments

election_expire_date_on_or_after

a character vector indicating date. Defaults to "today"

is_local

Boolean indicating that the ElectionEvent represents a local election

is_state

Boolean indicating that the ElectionEvent represents a state election

is_national

Boolean indicating that the ElectionEvent represents a national election

is_transnational

Boolean indicating that the ElectionEvent represents a transnational election

elections

an integer, indicating max number of elections to return

Value

data_frame

Examples

1
2
#' get_upcoming_elections(is_state = TRUE, elections = 2)
#' get_upcoming_elections(is_national = TRUE, elections = 5)

daranzolin/rcicero documentation built on May 14, 2019, 6:07 p.m.