Skip to contents

This dataset, influenza_vax_survey_df, is a data frame containing aggregated responses from three RAND American Life Panel (ALP) surveys regarding individuals' probability of vaccinating for influenza. The responses were discretized to "Never" (0%), "Always" (100%), or "Sometimes" (any other value). After merging, missing responses were coded as "Missing", and respondents were grouped and counted by all three coded responses.

Usage

data(influenza_vax_survey_df)

Format

A data frame with 117 observations and 6 variables:

survey

Factor indicating which of the three ALP surveys the response came from

freq

Integer indicating frequency count of grouped respondents

subject

Integer identifier for each subject

response

Factor with 4 levels: "Never", "Sometimes", "Always", and "Missing"

start_date

Date indicating the start of the survey

end_date

Date indicating the end of the survey

Source

Data taken from the ggalluvial package version 0.12.5

Details

The dataset name has been kept as 'influenza_vax_survey_df' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the infectiousR package and assists users in identifying its specific characteristics. The suffix 'df' indicates that the dataset is a data frame. The original content has not been modified in any way.