headlines_make_from_data: Make all variations of a headline from headline data

Description Usage Arguments Examples

View source: R/headlines-make.R

Description

Make all variations of a headline from headline data in list format (see headlines_data()). Returns a data frame with the headline, as well as variables identifying the integrated treatment component.

Usage

1

Arguments

news_data

Headline data in list format (see headlines_data()).

Examples

1
2
3
4
5
6
## Not run: 
 hard_news_data <- headlines_data("hard")[[1]]
 hard_news <- headlines_make_from_data(hard_news_data)
 print(hard_news$headline[1])

## End(Not run)

mikaelpoul/selective documentation built on May 22, 2019, 10:51 p.m.