vote_counts: Get the votes by candidate and geographic unit

Description Usage Arguments Value Examples

View source: R/data-manipulation.R

Description

Given a MEAE map ID, get the votes by candidate and geographic unit for the elections associated with that map.

Usage

1
vote_counts(map_id)

Arguments

map_id

An MEAE map ID from the meae_maps table.

Value

A data frame containing the votes for each candidate in a county.

Examples

1
vote_counts("meae.congressional.congress08.md.county")

mapping-elections/mappingelections documentation built on July 24, 2019, 9:42 a.m.