{"id":14066600,"url":"https://github.com/rjake/headliner","last_synced_at":"2025-10-22T05:54:02.718Z","repository":{"id":38518584,"uuid":"292972029","full_name":"rjake/headliner","owner":"rjake","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-23T03:36:20.000Z","size":4715,"stargazers_count":43,"open_issues_count":15,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-04T06:36:37.196Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://rjake.github.io/headliner","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rjake.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-05T00:26:36.000Z","updated_at":"2024-11-20T16:53:13.000Z","dependencies_parsed_at":"2023-01-30T17:31:31.641Z","dependency_job_id":null,"html_url":"https://github.com/rjake/headliner","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rjake/headliner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjake%2Fheadliner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjake%2Fheadliner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjake%2Fheadliner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjake%2Fheadliner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjake","download_url":"https://codeload.github.com/rjake/headliner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjake%2Fheadliner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267779994,"owners_count":24143201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-08-13T07:05:10.872Z","updated_at":"2025-10-22T05:54:02.631Z","avatar_url":"https://github.com/rjake.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  comment = \"#\u003e\"\n)\n```\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n# headliner \u003cimg src=\"man/figures/logo.png\" align=\"right\" alt=\"\" width=\"120\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![CRAN\\_Status\\_Badge](https://www.r-pkg.org/badges/version/headliner)](https://cran.r-project.org/package=headliner/)\n[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/headliner)](https://cran.r-project.org/package=headliner)\n[![codecov](https://codecov.io/gh/rjake/headliner/branch/main/graph/badge.svg)](https://app.codecov.io/gh/rjake/headliner/)\n[![R-CMD-check](https://github.com/rjake/headliner/workflows/R-CMD-check/badge.svg)](https://github.com/rjake/headliner/actions/)\n\u003c!-- [![CRAN Downloads](https://cranlogs.r-pkg.org/badges/grand-total/headliner)](https://cran.r-project.org/package=headliner) --\u003e\n\u003c!-- badges: end --\u003e\n\nThe goal of `headliner` is to translate facts into insights. Given two values, `headliner` generates building blocks for creating dynamic text. These talking points can be combined using using `glue` syntax to add informative titles to plots, section headers or other text in a report.\n\n## Installation\n\nYou can install the dev version of `headliner` from [github](https://github.com/rjake/headliner) with:\n\n``` r\ndevtools::install_github(\"rjake/headliner\")\n```\n\nLet's look at some of the talking points for the difference between 5 and 7:\n```{r}\nlibrary(headliner)\n\ncompare_values(5, 7) |\u003e # returns a list\n  view_list() # show as a data frame\n```\n\nWe can string the talking points together like this:\n\n```{r}\nheadline(\n  x = 5, \n  y = 7, \n  headline = \"There was {article_delta_p}% {trend} ({orig_values})\"\n)\n```\n\n\nSee [here](https://rjake.github.io/headliner/articles/intro.html) for a longer introduction.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjake%2Fheadliner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjake%2Fheadliner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjake%2Fheadliner/lists"}