Synthetic Polling Data
poll.data.Rd
pid
: party indicator, one ofc('Democrat', 'Republican', 'Independent', 'Other')
educ
: education level, one ofc('High School or Less', 'Some college', 'College', 'Post-grad')
age
: age of the individualage_buckets
: grouped age buckets, one ofc('18to35', '36to50', '51to64', 'Over65')
bornagain
: indicator for whether the individual identifies as born-again Christian, one ofc('Yes', 'No')
gender
: categorical gender, one ofc('Men', 'Women')
race
: categorical race, one ofc('White', 'Black', 'Hispanic', 'Asian', 'Other')
vvweight_post
: post-election verified voter weight for the individual
Usage
data('poll.data')
Details
A synthetically generated dataset that simulates polling data for a hypothetical support. The covariates are constructed to match commonly used demographic covariates in practice.
Examples
data('poll.data')