show_province_and_party: show_province_and_party

View source: R/show_province_and_party.R

show_province_and_partyR Documentation

show_province_and_party

Description

A function that displays the election results of a specified political party in a given province, both as percentages and as absolute figures, in the form of a graph.

Usage

show_province_and_party(province = "Ankara", party = "CHP", percentage = FALSE)

Arguments

province

The name of the province that users want to look for

party

The name of the political party that users want to look for

percentage

It is a boolean argument which allows you to print the plot with the percentage or not

Value

A visual that shows the election results of a specified political party in a given province

Examples


show_province_and_party()


turkeyelections documentation built on May 29, 2024, 4:20 a.m.