show_result_for_turkey: show_result_for_turkey

View source: R/show_result_for_turkey.R

show_result_for_turkeyR Documentation

show_result_for_turkey

Description

A function that visualizes election results across Turkey, with the option to display the results either as percentages or as absolute numbers.

Usage

show_result_for_turkey(x, percentage = FALSE)

Arguments

x

the name of the data frame to be visualized. It is supposeed to be the one including name turkey in the file name.

percentage

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

Value

A visual that shows the percentages for each parties for the given election result

Examples


show_result_for_turkey()


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