return_3news_snippets: Return 3 News Snippets

View source: R/news-functions.R

return_3news_snippetsR Documentation

Return 3 News Snippets

Description

In a table of news stories, return 3 based on recency and length.

Usage

return_3news_snippets(metric_df)

Arguments

metric_df

A dataframe with the following columns: link (chr), title (chr), time (date or dttm), author (chr), and description (chr).

Value

HTML formatted text with links and descriptions of articles.

Examples

## Not run: 
return_3news_snippets(metric_df)

## End(Not run)


jupitertrades/tabletotext documentation built on Oct. 31, 2022, 5:47 p.m.