fact_check: Check

Description Usage Arguments Examples

Description

Fact Check publishers or queries.

Usage

1
2
fact_check(q = NULL, lang = NULL, publisher = NULL,
  days_old = NULL, pages = 1)

Arguments

q

Textual query string. Required unless publisheer is specified.

lang

The BCP-47 language code, such as en-US or sr-Latn. Can be used to restrict results by language, though we do not currently consider the region.

publisher

The review publisher site to filter results by, e.g. nytimes.com.

days_old

The maximum age of the returned search results, in days. Age is determined by either claim date or review date, whichever is newer.

pages

Number of pages of results to fecth.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Fact checks and claims on Trump only in English
fact_check("Trump", lang = "en-US")

# fact checks of the New York Times
fact_check(publisher = "nytimes.com")

## End(Not run)

news-r/factcheck documentation built on June 26, 2019, 1:19 p.m.