Function reference
Phrases & Talking Points
Along with headline(), these functions allow you to expand and view talking points.
-
headline()headline_list() - Compose phrases that describe differences in the data
-
plural_phrasing() - List of values to use when change is plural (or singular)
-
trend_terms() - Phrases for direction of difference
-
add_headline_column() - Add column of headlines
-
compare_values() - Compare two values and get talking points
-
view_list() - Compact view of list values
Data Prep Helpers
There are some helper functions to prepare data frames for use with headline()
-
compare_conditions() - Compare two conditions within a data frame
-
add_date_columns() - Add columns with date calculations based on reference date
-
add_article() - Append a/an to word
-
demo_data() - Small data set referencing the current date
-
pixar_films - This data comes from
pixarfilmspackage by Eric Leung (2022)