Package: headliner 0.0.3
headliner: Compose Sentences to Describe Comparisons
Create dynamic, data-driven text. Given two values, a list of talking points is generated and can be combined using string interpolation. Based on the 'glue' package.
Authors:
headliner_0.0.3.tar.gz
headliner_0.0.3.zip(r-4.5)headliner_0.0.3.zip(r-4.4)headliner_0.0.3.zip(r-4.3)
headliner_0.0.3.tgz(r-4.4-any)headliner_0.0.3.tgz(r-4.3-any)
headliner_0.0.3.tar.gz(r-4.5-noble)headliner_0.0.3.tar.gz(r-4.4-noble)
headliner_0.0.3.tgz(r-4.4-emscripten)headliner_0.0.3.tgz(r-4.3-emscripten)
headliner.pdf |headliner.html✨
headliner/json (API)
NEWS
# Install 'headliner' in R: |
install.packages('headliner', repos = c('https://rjake.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rjake/headliner/issues
- pixar_films - This data comes from 'pixarfilms' package by Eric Leung
Last updated 2 years agofrom:efe92de137. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 09 2024 |
R-4.5-win | OK | Nov 09 2024 |
R-4.5-linux | OK | Nov 09 2024 |
R-4.4-win | OK | Nov 09 2024 |
R-4.4-mac | OK | Nov 09 2024 |
R-4.3-win | OK | Nov 09 2024 |
R-4.3-mac | OK | Nov 09 2024 |
Exports:add_articleadd_date_columnsadd_headline_columncompare_conditionscompare_valuesdemo_dataheadlineheadline_listplural_phrasingtrend_termsview_list
Dependencies:clicpp11dplyrfansigenericsgluelifecyclelubridatemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselecttimechangeutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Append a/an to word | add_article |
Add columns with date calculations based on reference date | add_date_columns |
Add column of headlines | add_headline_column |
Compare two conditions within a data frame | compare_conditions |
Compare two values and get talking points | compare_values |
Small data set referencing the current date | demo_data |
Compose phrases that describe differences in the data | headline headline_list |
This data comes from 'pixarfilms' package by Eric Leung (2022) | pixar_films |
List of values to use when change is plural (or singular) | plural_phrasing |
Phrases for direction of difference | trend_terms |
Compact view of list values | view_list |