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.7)headliner_0.0.3.zip(r-4.6)headliner_0.0.3.zip(r-4.5)
headliner_0.0.3.tgz(r-4.6-any)headliner_0.0.3.tgz(r-4.5-any)
headliner_0.0.3.tar.gz(r-4.7-any)headliner_0.0.3.tar.gz(r-4.6-any)
headliner_0.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
Pkgdown/docs site:https://rjake.github.io
- pixar_films - This data comes from 'pixarfilms' package by Eric Leung
Last updated from:efe92de137. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 139 | ||
| source / vignettes | OK | 221 | ||
| linux-release-x86_64 | OK | 145 | ||
| macos-release-arm64 | OK | 118 | ||
| macos-oldrel-arm64 | OK | 148 | ||
| windows-devel | OK | 103 | ||
| windows-release | OK | 84 | ||
| windows-oldrel | OK | 136 | ||
| wasm-release | OK | 113 |
Exports:add_articleadd_date_columnsadd_headline_columncompare_conditionscompare_valuesdemo_dataheadlineheadline_listplural_phrasingtrend_termsview_list
Dependencies:clicpp11dplyrgenericsgluelifecyclelubridatemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselecttimechangeutf8vctrswithr
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 |
