filter_tidy_data: Filter the tidy data.

Description Usage Arguments

View source: R/get_data.r

Description

Filter the tidy data.

Usage

1
filter_tidy_data(tidyData, event_types, date_range, variable)

Arguments

tidyData

The result of calling tidy_notification_click_data.

event_types

A character vector listing the event types to include in the final chart.

date_range

A length-two Date vector containing the min and max date to include in the filtered dataset.

variable

A length-one character vector specifying the variable whose value will be displayed in the final chart. Can be set to "click", "unsubscribe", or "manage".


johnchower/notificationGraphs documentation built on May 19, 2019, 3:04 p.m.