empty_ei_df: Create a dataframe with NA values for racial and candidate...

View source: R/make_data.R

empty_ei_dfR Documentation

Create a dataframe with NA values for racial and candidate counts.

Description

Create a dataframe with NA values for racial and candidate counts.

Usage

empty_ei_df(ncand = 2, nrace = 2, nrow = 2)

Arguments

ncand

The number of candidates to include

nrace

The number of race/ethnicitiesto include

nrow

The number of rows for the dataframe

Value

A dataframe with columns for each candidate and race, all with NAs


eiCompare documentation built on Aug. 31, 2023, 5:16 p.m.